Tim Deschryver 4/27/2020

An experiment, using the global NgRx Store as a local store

Read Original

This technical article details an experiment to use the NgRx global state management store as a local component store. It explains how to dynamically create and claim unique slices of the global state using the ReducerManager when a component is instantiated, and how to clean them up on destruction, effectively binding component state to its lifecycle within the NgRx ecosystem.

An experiment, using the global NgRx Store as a local store

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet