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: CONTRIBUTING.md
+2-20Lines changed: 2 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ We welcome any type of contribution, not only code. You can help with
9
9
-**Marketing**: writing blog posts, howto's, printing stickers, ...
10
10
-**Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, ...
11
11
-**Code**: take a look at the [open issues](issues). Even if you can't write code, commenting on them, showing that you care about a given issue matters. It helps us triage them.
12
-
-**Money**: we welcome financial contributions in full transparency on our [open collective](https://opencollective.com/react-redux-firebase).
12
+
-**Money**: we welcome financial contributions as detailed in the [financial contributions section](#financial-contributions).
13
13
14
14
## Your First Contribution
15
15
@@ -26,8 +26,7 @@ It is also always helpful to have some context for your pull request. What was t
26
26
27
27
## Financial contributions
28
28
29
-
We also welcome financial contributions in full transparency on our [open collective](https://opencollective.com/react-redux-firebase).
30
-
Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our open collective by the core contributors and the person who filed the expense will be reimbursed.
29
+
Financial contributions are welcomed through either [patreon](https://www.patreon.com/prescottprue) or [open collective](https://opencollective.com/react-redux-firebase).
31
30
32
31
## Questions
33
32
@@ -48,20 +47,3 @@ Thank you to all our backers! [[Become a backer](https://opencollective.com/reac
Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/react-redux-firebase#sponsor))
- Tons of examples of integrations including [`redux-thunk`](https://github.com/gaearon/redux-thunk) and [`redux-observable`](https://redux-observable.js.org/)
29
-
- Server Side Rendering Support
30
-
-[`react-native` support](http://react-redux-firebase.com/docs/integrations/react-native.html) using [native modules](http://react-redux-firebase.com/docs/integrations/react-native.html#native-modules) or [web sdk](http://react-redux-firebase.com/docs/integrations/react-native.html#jsweb)
22
+
* Out of the box support for authentication (with auto load user profile)
23
+
* Full Firebase Platform Support Including Real Time Database, Firestore, and Storage
24
+
* Automatic binding/unbinding of listeners through React Higher Order Components (`firebaseConnect` and `firestoreConnect`)
25
+
*[Population capability](http://react-redux-firebase.com/docs/populate) (similar to mongoose's `populate` or SQL's `JOIN`)
26
+
* Support small data ( using `value` ) or large datasets ( using `child_added`, `child_removed`, `child_changed` )
* Tons of examples of integrations including [`redux-thunk`](https://github.com/gaearon/redux-thunk) and [`redux-observable`](https://redux-observable.js.org/)
29
+
* Server Side Rendering Support
30
+
*[`react-native` support](http://react-redux-firebase.com/docs/integrations/react-native.html) using [native modules](http://react-redux-firebase.com/docs/integrations/react-native.html#native-modules) or [web sdk](http://react-redux-firebase.com/docs/integrations/react-native.html#jsweb)
31
31
32
32
## Installation
33
33
@@ -43,24 +43,27 @@ If you're not, you can access the library on [unpkg](https://unpkg.com/redux-fir
43
43
44
44
## Use
45
45
46
-
Include `reactReduxFirebase` (store enhancer) and `firebaseReducer` (reducer) while creating your redux store:
46
+
Include `reactReduxFirebase` (store enhancer) and `firebaseReducer` (reducer) while creating your redux store:
// Add reactReduxFirebase enhancer when making store creator
75
78
constcreateStoreWithFirebase=compose(
76
-
reactReduxFirebase(firebase, rrfConfig),// firebase instance as first argument
79
+
reactReduxFirebase(firebase, rrfConfig) // firebase instance as first argument
77
80
// reduxFirestore(firebase) // <- needed if using firestore
78
81
)(createStore)
79
82
80
83
// Add firebase to reducers
81
84
constrootReducer=combineReducers({
82
-
firebase: firebaseReducer,
85
+
firebase: firebaseReducer
83
86
// firestore: firestoreReducer // <- needed if using firestore
84
87
})
85
88
@@ -92,9 +95,9 @@ const App = () => (
92
95
<Provider store={store}>
93
96
<Todos />
94
97
</Provider>
95
-
);
98
+
)
96
99
97
-
render(<App/>, document.getElementById('root'));
100
+
render(<App/>, document.getElementById('root'))
98
101
```
99
102
100
103
The Firebase instance can then be grabbed from context within your components (`withFirebase` and `firebaseConnect` Higher Order Components provided to help):
@@ -265,6 +256,7 @@ If you plan to use Firestore, you should checkout [`redux-firestore`][redux-fire
265
256
Currently `react-redux-firebase` still handles auth when using [`redux-firestore`][redux-firestore] - The future plan is to also have auth standalone auth library that will allow the developer to choose which pieces they do/do not want.
266
257
267
258
## [Docs](http://react-redux-firebase.com)
259
+
268
260
See full documentation at [react-redux-firebase.com](http://react-redux-firebase.com)
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/).
295
+
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/).
303
296
304
297
## Discussion
305
298
@@ -359,15 +352,15 @@ This project exists thanks to all the people who contribute.
0 commit comments