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

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes