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
* Basic Population working with new syntax (`populate`)
* Material example uses new syntax (no helpers)
* A firebase instance can be passed (pass Firebase instance as first argument for `reactReduxFirebase` when creating store)
* Unused helpers removed (`populatedDataToJS`, `dataToJS`, `customToJS`)
-`config.onAuthStateChanged`**[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** Function run when auth state
-`config.enableEmptyAuthChanges`**[Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Whether or not to enable
44
+
empty auth changes. When set to true, `onAuthStateChanged` will be fired with,
45
+
empty auth changes such as undefined on initialization. See
46
+
[#137](https://github.com/prescottprue/react-redux-firebase/issues/137) for
47
+
more details. (default: `false`)
43
48
-`config.onRedirectResult`**[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** Function run when redirect
44
49
result is returned. Argument Pattern: `(authData, firebase, dispatch)`
45
50
-`config.customAuthParameters`**[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Object for setting which
46
51
customAuthParameters are passed to external auth providers.
47
-
-`config.profileFactory`**[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** Factory for modifying how user profile is saved.
52
+
-`config.profileFactory`**[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** Factory for modifying how user
53
+
profile is saved.
48
54
-`config.uploadFileDataFactory`**[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** Factory for modifying
49
55
how file meta data is written during file uploads
50
56
-`config.profileParamsToPopulate`**([Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)\|[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String))** Parameters within
-`enableRedirectHandling`**[Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**`true` Whether or not to enable
66
67
redirect handling. This must be disabled if environment is not http/https
67
68
such as with react-native.
69
+
-`enableEmptyAuthChanges`**[Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**`false` Whether or not to enable
70
+
empty auth changes. When set to true, `onAuthStateChanged` will be fired with,
71
+
empty auth changes such as `undefined` on initialization
72
+
(see [#137](https://github.com/prescottprue/react-redux-firebase/issues/137)).
73
+
Requires `v1.5.0-alpha` or higher.
68
74
-`autoPopulateProfile`**[Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**`true` Whether or not to
69
75
automatically populate profile with data loaded through
70
76
profileParamsToPopulate config.
@@ -73,7 +79,7 @@ Default configuration options
73
79
the data path. For example: role paramter on profile populated from 'roles'
74
80
root. True will call SET_PROFILE as well as a SET action with the role that
75
81
is loaded (places it in data/roles).
76
-
-`distpatchOnUnsetListener`**[Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**`false` Whether or not to
82
+
-`dispatchOnUnsetListener`**[Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**`false` Whether or not to
77
83
dispatch UNSET_LISTENER when disabling listeners for a specific path. USE WITH CAUTION
78
84
Setting this to true allows an action to be called that removes data
0 commit comments