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
-[In your `FeatureModule`](#in-your-featuremodule)
22
22
-[In your `FeatureService`](#in-your-featureservice)
23
+
-[Usage (Standalone)](#usage-standalone)
24
+
-[In your `main.ts`](#in-your-maints)
25
+
-[In your `Component`](#in-your-component)
26
+
-[Using `sginals`\&`signalStore` from `@ngrx/signals`](#using-sginals--signalstore-from-ngrxsignals)
23
27
-[Features](#features)
24
-
-[Diagrams](#diagrams)
25
28
-[Status](#status)
26
29
-[Inspiration](#inspiration)
27
30
-[Notes](#notes)
28
31
-[Contact](#contact)
29
32
30
33
## General info
31
34
32
-
If you don't want to setup RxDB manually in your next Angular project - just import `NgxRxdbModule`
35
+
If you don't want to setup RxDB manually in your next Angular project - just import `NgxRxdbModule` or go with `provideRxDatabase` and `provideRxCollection` if standalone component is your choice.
33
36
34
37
## Technologies
35
38
@@ -41,28 +44,28 @@ If you don't want to setup RxDB manually in your next Angular project - just imp
By using this module you can simplify your work with RxDB in Angular application:
238
+
239
+
- Automatically initialize db with settings
240
+
- optionally provide db dumb to pre-fill collections
241
+
- optionally provide array of initial documents to pre-fill collection
242
+
- optionally provide remote location for schema and fetch it automatically before create collection (e.g. to maintain single source of truth for schema)
243
+
- optionally provide syncronization with remote db (CouchDB, Kinto etc.) as DB options
244
+
- Automatically initialize RxCollection for each _lazy-loaded Feature module / standalone component_ with config
245
+
- Work with documents via _NgxRxdbCollectionService_ with unified methods instead of using _RxCollection_ directly (though you still have access to _RxCollection_ and _RxDatabase_ instance)
246
+
- Work with signals and entities with `@ngrx/signals` and `@ngrx/entity` (optionally _zoneless_) (see [example](examples/standalone/src/app/todos/todos.store.ts))
-[Angular NgRx Material Starter](https://tomastrajan.github.io/angular-ngrx-material-starter#/examples/todos)
186
266
-_The Angular Library Series_ from [Angular In Depth](https://blog.angularindepth.com/)
267
+
-[NgRx Toolkit](https://github.com/angular-architects/ngrx-toolkit/blob/main/libs/ngrx-toolkit/src/lib/with-data-service.ts) - inspired by Manfred Steyer and created singnals tool by analogy of `withDataService` from [Angular Architects](https://angulararchitects.io/)
187
268
188
269
## Notes
189
270
190
-
- example on how to trigger a query on signal change. e.g. filter todos using DB query and not in memory
0 commit comments