I'm trying to find a good way to use React with Firebase. There are three main things going on here:
- A router mixin in my root component matches a path to a
Handler
component. - the
Handler
component specifies the data it requires instatics.firebase
. - a
FirebaseMixin
handles subscription/unsubscription to Firebase data.
All of this works on the client and server (express middleware is at the bottom)
Data Dependencies