Category "ngrx-store"

NgRx store runtime check NgZone failing on android

We implemented a network check as a side effect with window event online and offline. online$ = createEffect(() => { return fromEvent(window, 'online').pip

NGRX router-store: selectCurrentRoute selector undefined

I'm trying to use the selectCurrentRoute selector, but I only get undefined. export interface AppState { router: RouterReducerState<RouterStateUrl> } e

Read data from ngrx store directly

I saw in our codebase a lot of places using this pattern getUrl() : string { let url = '' this.store.pipe(selectorConfig, take(1)).subscribe((config) =&

Typescript errors in `store.select()` after upgrading from ngrx@12 to 13

After I upgraded ngrx from v12 to v13 I'm getting such errors when using store.select(selector) TS2769: No overload matches this call.   Overload 1 of

Process and store data angular 13 [closed]

I'm working on angular 13 application where I need to show real time or past 24 hours data for different KPIs. The flow is when app loads, it

Format data in store with @ngrx/data and @ngrx/entity, not in component (subscriber)

While working with ngrx/data I find myself parsing and formatting data from the store in multiple places: converting strings to date objects or formatting strin

The pipe 'ngrxPush' could not be found

I am new to NgRx and I have being learning for the past week. So, I was trying to check the Push Pipe and let directive. According to NgRx Documentation the ins