You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-11
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,10 @@
15
15
16
16
View deployed version of [Material Example](https://github.com/prescottprue/react-redux-firebase/tree/master/examples/complete/material)[here](https://redux-firebasev3.firebaseapp.com/)
17
17
18
-
19
18
## Features
20
19
- Integrated into redux
21
20
- Support for updating and nested props
22
-
-[Population capability](http://react-redux-firebase.com/docs/populate.html) (similar to mongoose's `populate` or SQL's `JOIN`)
21
+
-[Population capability](http://react-redux-firebase.com/docs/populate) (similar to mongoose's `populate` or SQL's `JOIN`)
23
22
- Out of the box support for authentication (with auto load user profile)
24
23
- Firebase Storage Support
25
24
- Support small data ( using `value` ) or large datasets ( using `child_added`, `child_removed`, `child_changed` )
Examples folder is broken into two categories [complete](https://github.com/prescottprue/react-redux-firebase/tree/master/examples/complete) and [snippets](https://github.com/prescottprue/react-redux-firebase/tree/master/examples/snippets). Complete contains full applications that can be run as is, where as snippets is small amounts of code to show functionality (dev tools and deps not included).
@@ -202,6 +206,10 @@ A simple example that was created using [create-react-app](https://github.com/fa
202
206
203
207
An example that user Material UI built on top of the output of [create-react-app](https://github.com/facebookincubator/create-react-app)'s eject command. Shows a list of todo items and allows you to add to them. This is what is deployed to [redux-firebasev3.firebaseapp.com](https://redux-firebasev3.firebaseapp.com/).
204
208
209
+
## Discussion
210
+
211
+
Join the [redux-firebase gitter](https://gitter.im/redux-firebase/Lobby).
212
+
205
213
## Using with `redux-thunk`
206
214
If you are using `redux-thunk`, make sure to set up your thunk middleware using it's redux-thunk's `withExtraArgument` method so that firebase is available within your actions. Here is an example `createStore` function that adds `getFirebase` as third argument along with a thunk that uses it:
1. How is this different than [`redux-react-firebase`](https://github.com/tiberiuc/redux-react-firebase)?
277
285
278
286
This library was actually originally forked from redux-react-firebase, but adds extended functionality such as:
279
-
*[populate functionality](http://react-redux-firebase.com/docs/populate.html) (similar to mongoDB or SQL JOIN)
280
-
*[`profileDecorator`](http://react-redux-firebase.com/docs/config.html) - change format of profile stored on Firebase
281
-
*[`getFirebase`](http://react-redux-firebase.com/docs/thunks.html) - access to firebase instance that fires actions when methods are called
282
-
*[integrations](http://react-redux-firebase.com/docs/thunks.html) for [`redux-thunk`](https://github.com/gaearon/redux-thunk) and [`redux-observable`](https://redux-observable.js.org) - using `getFirebase`
283
-
*[access to firebase's `storage`](http://react-redux-firebase.com/docs/storage.html) method`
287
+
*[populate functionality](http://react-redux-firebase.com/docs/populate) (similar to mongoDB or SQL JOIN)
288
+
*[`profileDecorator`](http://react-redux-firebase.com/docs/config) - change format of profile stored on Firebase
289
+
*[`getFirebase`](http://react-redux-firebase.com/docs/thunks) - access to firebase instance that fires actions when methods are called
290
+
*[integrations](http://react-redux-firebase.com/docs/thunks) for [`redux-thunk`](https://github.com/gaearon/redux-thunk) and [`redux-observable`](https://redux-observable.js.org) - using `getFirebase`
291
+
*[access to firebase's `storage`](http://react-redux-firebase.com/docs/storage) method`
284
292
*`uniqueSet` method helper for only setting if location doesn't already exist
285
293
* Object or String notation for paths (`[{ path: '/todos' }]` equivalent to `['/todos']`)
286
294
* Action Types and other Constants are exposed for external usage (such as with `redux-observable`)
287
295
288
296
#### Well why not combine?
289
-
I have been talking to the author of [redux-react-firebase](https://github.com/tiberiuc/redux-react-firebase) about combining, but we are not sure that the users of both want that at this point. Join us on [the redux-firebase gitter](https://gitter.im/redux-firebase/Lobby) if you haven't already since a ton of this type of discussion goes on there.
297
+
I have been talking to the author of [redux-react-firebase](https://github.com/tiberiuc/redux-react-firebase) about combining, but we are not sure that the users of both want that at this point. Join us on the [redux-firebase gitter](https://gitter.im/redux-firebase/Lobby) if you haven't already since a ton of this type of discussion goes on there.
290
298
291
299
**Bottom line:** The author of redux-react-firebase was absent when functionality was needed by me and others, so this library was created.
0 commit comments