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
* fix(types): add support for `React.FunctionalComponent` in `firebaseConnect`/`firestoreConnect` type definitions - @illuminist
* fix(firebaseConnect): move hoistStatics to allow static methods to copied - @jeloagnasin
* refactor(core): use JS formatted eslint config file - @Shalinit3
* fix(types): add any other values to UserProfile type
* fix(examples): update typescript example
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/)
31
-
- Server Side Rendering Support
32
-
-[`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)
24
+
* Out of the box support for authentication (with auto load user profile)
25
+
* Full Firebase Platform Support Including Real Time Database, Firestore, and Storage
26
+
* Automatic binding/unbinding of listeners through React Higher Order Components (`firebaseConnect` and `firestoreConnect`)
27
+
*[Population capability](http://react-redux-firebase.com/docs/populate) (similar to mongoose's `populate` or SQL's `JOIN`)
28
+
* 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/)
31
+
* Server Side Rendering Support
32
+
*[`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)
33
33
34
34
## Installation
35
35
@@ -64,7 +64,7 @@ const fbConfig = {}
64
64
65
65
// react-redux-firebase config
66
66
constrrfConfig= {
67
-
userProfile:'users',
67
+
userProfile:'users'
68
68
// useFirestoreForProfile: true // Firestore for Profile instead of Realtime DB
// firestore: firestoreReducer // <- needed if using firestore
82
82
})
83
83
@@ -103,7 +103,7 @@ function App() {
103
103
);
104
104
}
105
105
106
-
render(<App/>, document.getElementById('root'));
106
+
render(<App/>, document.getElementById('root'))
107
107
```
108
108
109
109
The Firebase instance can then be grabbed from context within your components (`withFirebase` and `firebaseConnect` Higher Order Components provided to help):
@@ -294,6 +293,7 @@ If you plan to use Firestore, you should checkout [`redux-firestore`][redux-fire
294
293
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.
295
294
296
295
## [Docs](http://react-redux-firebase.com)
296
+
297
297
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/).
332
+
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/).
Copy file name to clipboardExpand all lines: docs/api/constants.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,8 @@ Default configuration options
81
81
82
82
-`userProfile`**[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**`null` Location on Firebase where user
83
83
profiles are stored. Often set to `'users'`.
84
+
-`profileFactory`**[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)**`null` Function for changing how profile is written
85
+
to database (both RTDB and Firestore).
84
86
-`presence`**([String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\|[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function))**`null` Location on Firebase where of currently
85
87
online users is stored. Often set to `'presence'` or `'onlineUsers'`. If a function
86
88
is passed, the arguments are: `(currentUser, firebase)`.
@@ -144,7 +146,7 @@ Default configuration options
144
146
state (name given when passing reducer to combineReducers). Used in
0 commit comments