v2.0.0-beta.14
Pre-release
Pre-release
- fix(typings): Updated type definitions - #311
- fix(populate): dispatch for errors during profile population - #312
- feat(firebaseConnect):
storeis passed as second argument offirebaseConnect- #278 - feat(firestoreConnect):
storeis passed as second argument offirestoreConnect - fix(query):
dispatchRemoveActionis nowfalseby default - prevents multiple state updates when callingremoveif listener associated is attached
Potentially Breaking
storebeing passed as second argument offirebaseConnect(andfirestoreConnect), which means any components using that second argument will break (most commonly used for gettinguid). To accessuidor other info from redux state, usestore.getState()like so:
firebaseConnect(
(props, store) => {
const { firebase: { auth } } = store.getState()
// be careful, listeners are not re-attached when auth state changes unless props change
return [{ path: `todos/${auth.uid || ''}` }]
}
)More details are included in the migration guide.