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(firestore): profile update with firestore - prescottprue#360 - @barnomics
* fix(auth): `loginWithCustomToken` supports passing `profile` parameter - prescottprue#359
* feat(auth): error messages for not logged using same wording for all methods (i.e. “User must be logged in”)
* feat(docs): `loginWithCustomToken` section updated with note about how `profile` is required in certain cases - prescottprue#359
* feat(docs): roadmap updated to include option for re-rendering HOCs based on auth state change - prescottprue#367
* feat(docs): link added to sidebar for each of the separate reducers
* feat(docs): note added to FAQ about why `yarn.lock` file is not included
* fix(test): extended timeout added to unit tests for `login` to prevent fail on slow connections
* feat(docs): note added to reducer docs about how it is multiple slice reducers combined with `combineReducers`
* feat(test): unit tests added for auth/query actions not previously covered (`updateEmail`, `updateAuth`, `orderedFromSnapshot`, etc)
* fix(test): tests simplified by moving reused functions to test utils
* fix(test): remove lint warning caused by `mocha.opts` being ignored
* update(deps): `prop-types` dependency updated from `v15.5.*` to v15.6.*`
* update(deps): tons of dev dependencies updated including `babel-cli`, `babel-core`, `eslint`, `sinon`, `mocha`, `jsdom`
##### Note
`v2.0.0` syntax is now considered stable 🍾 (multiple production applications have switched from `v1.5.*` to `v2.*.*` following [the migration guide](docs.react-redux-firebase.com/history/v2.0.0/docs/v2-migration-guide.html), and test coverage is better than for `v1.5.*`). Merge conflicts with `master` have also been resolved. All of this means this release will be the final RC released on `next` before moving [`v2.0.0`](https://github.com/prescottprue/react-redux-firebase/tree/v2.0.0) to the `latest` tag on npm (the `latest` tag release will include merging to `master`).
Copy file name to clipboardExpand all lines: README.md
+30-13
Original file line number
Diff line number
Diff line change
@@ -19,17 +19,14 @@
19
19
The [Material Example](https://github.com/prescottprue/react-redux-firebase/tree/master/examples/complete/material) is deployed to [demo.react-redux-firebase.com](https://demo.react-redux-firebase.com).
20
20
21
21
## Features
22
-
- Support for updating and nested props
23
-
-[Population capability](http://react-redux-firebase.com/docs/populate) (similar to mongoose's `populate` or SQL's `JOIN`)
22
+
- Integrated into redux
24
23
- Out of the box support for authentication (with auto load user profile)
25
-
- Firebase Database, Firestore, Auth, Storage, and Messaging Support
24
+
- Full Firebase Platform Support Including Real Time Database, Firestore, and Storage
25
+
- Automatic binding/unbinding of listeners through React Higher Order Components (`firebaseConnect` and `firestoreConnect`)
26
+
-[Population capability](http://react-redux-firebase.com/docs/populate) (similar to mongoose's `populate` or SQL's `JOIN`)
26
27
- 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/)
33
30
- Server Side Rendering Support
34
31
-[`react-native` support](/docs/recipes/react-native.md) using [native modules](http://docs.react-redux-firebase.com/history/v2.0.0/docs/recipes/react-native.html#native-modules) or [web sdk](/docs/recipes/react-native.md#jsweb)
If you plan to use Firestore, you should checkout [`redux-firestore`][redux-firestore]. It integrates nicely with `react-redux-firebase` (v2 only) and it allows you to run Real Time Database and Firestore along side each other.
304
+
305
+
`react-redux-firebase` provides the `firestoreConnect` HOC (similar to `firebaseConnect`) for easy setting/unsetting of listeners.
306
+
307
+
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.
308
+
293
309
## Starting A Project
294
310
295
311
### Generator
@@ -308,7 +324,7 @@ Please visit the [FAQ section of the docs](http://docs.react-redux-firebase.com/
308
324
309
325
This project exists thanks to all the people who contribute.
Copy file name to clipboardExpand all lines: docs/FAQ.md
+8-2
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
*[Complete Firebase Auth Integration](http://react-redux-firebase.com/docs/auth.html#examples) including `signInWithRedirect` compatibility for OAuth Providers
17
17
18
18
#### Well why not combine?
19
-
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.
19
+
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][gitter-url] if you haven't already since a ton of this type of discussion goes on there.
20
20
21
21
#### What about [redux-firebase](https://github.com/colbyr/redux-firebase)?
22
22
The author of [redux-firebase](https://github.com/colbyr/redux-firebase) has agreed to share the npm namespace! Currently the plan is to take the framework agnostic redux core logic of `react-redux-firebase` and [place it into `redux-firebase`](https://github.com/prescottprue/redux-firebase)). Eventually `react-redux-firebase` and potentially other framework libraries can depend on that core (the new `redux-firebase`).
@@ -34,8 +34,14 @@
34
34
35
35

36
36
37
-
5. How do I help?
37
+
5. Where is the `yarn.lock` file?
38
+
39
+
There isn't one, there is just a `package-lock.json`. `npm v5.x.x` adds support for a `package-lock.json` file which serves a similar purpose to a `yarn.lock` file. Instead of managing multiple lock files, the single `package-lock.json` contains exact version information for dependencies.
Returns **[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** HOC that accepts a watchArray and wraps a component
34
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** HOC that accepts a watchArray and wraps a component
35
35
36
36
## firebaseConnect
37
37
@@ -42,14 +42,16 @@ to provided firebase paths using React's Lifecycle hooks.
42
42
43
43
**Parameters**
44
44
45
-
-`watchArray`**[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)** Array of objects or strings for paths to sync from Firebase. Can also be a function that returns the array. The function is passed the current props and the firebase object.
45
+
-`watchArray`**[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)** Array of objects or strings for paths to sync
46
+
from Firebase. Can also be a function that returns the array. The function
47
+
is passed the current props and the firebase object.
46
48
47
49
**Examples**
48
50
49
51
_Basic_
50
52
51
53
```javascript
52
-
//this.props.firebase set on App component as firebase object with helpers
54
+
// props.firebase set on App component as firebase object with helpers
Returns **[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** that accepts a component to wrap and returns the wrapped component
126
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** that accepts a component to wrap and returns the wrapped component
0 commit comments