It integrates nicely with react-redux-firebase and it allows you to run Real Time Database and Firestore along side each other. If you plan to use Firestore, you should checkout redux-firestore. Include firebaseReducer (reducer) while creating your redux store then pass dispatch and your firebase instance to ReactReduxFirebaseProvider (context provider): import React from 'react' import // Export enhanced component export default Todos Interested in support for versions of react-redux before v6 or the new react context API? Checkout the v2.*.* versions (installed through npm i -save Use Theres more on this in the Builds section below. If you're not, you can access the library on unpkg, download it, or point your package manager to it. This assumes you are using npm as your package manager. Installation npm install -save react-redux-firebase react-native support using native modules or web sdk.Tons of examples of integrations including redux-thunk and redux-observable.Multiple queries types supported including orderBåhild, orderByKey, orderByValue, orderByPriority, limitToLast, limitToFirst, startAt, endAt, equalTo.Support small data ( using value ) or large datasets ( using child_added, child_removed, child_changed ).Population capability (similar to mongoose's populate or SQL's JOIN).Automatic binding/unbinding of listeners through React Hooks ( useFirebaseConnect, useFirestoreConnect) or Higher Order Components ( firebaseConnect and firestoreConnect).Full Firebase Platform Support Including Real Time Database, Firestore, and Storage.Out of the box support for authentication (with auto loading user profile from database/firestore).Includes Higher Order Component (HOC) for use with React.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |