- Firebase Realtime Database
- @ngrx/entity
- AngularFireList - valueChanges() returns sorted records
- Firebase Cloud Firestore
- @ngrx/entity
- AngularFirestoreCollection - stateChanges()
- EntityAdapter sorts records
- Firebase Cloud Firestore
- @ngrx/entity
- AngularFirestoreCollection - valueChanges() returns sorted records
import { FirebaseAppConfig } from 'angularfire2';
export const MyFirebaseAppConfig: Readonly<FirebaseAppConfig> = {
apiKey: 'xxxxxx',
authDomain: 'xxxxxx',
databaseURL: 'xxxxxx',
messagingSenderId: 'xxxxxx',
projectId: 'xxxxxx',
storageBucket: 'xxxxxx',
};
- auth
- displayName
- error
- hasChecked
- isAuthenticated
- isAuthenticating
- userId
- collection
- loaded
- loading
- textItems
- 0
- description
- title
- 1
- description
- title
- 0
- gadget
- ids
- 0: "aa"
- 1: "bb"
- entities
- aa
- description
- id
- name
- bb
- description
- id
- name
- aa
- selectedWidgetId
- ids
- wgizmo
- ids
- 0: "aa"
- 1: "bb"
- entities
- aa
- description
- id
- name
- bb
- description
- id
- name
- aa
- selectedGizmoId
- ids
- widget
- ids
- 0: "aa"
- 1: "bb"
- entities
- aa
- description
- id
- name
- bb
- description
- id
- name
- aa
- selectedWidgetId
- ids
Using example-app/book.ts as pattern.
https://github.com/ngrx/platform/blob/master/example-app/app/auth/reducers/auth.ts
https://github.com/ngrx/platform/blob/master/docs/entity/adapter.md#createentityadapter