Overview
There are 4 major concepts to NGXS:
Store: Global state container, action dispatcher and selector
Actions: Class describing the action to take and its associated metadata
State: Class definition of the state
Selects: State slice selectors
These concepts create a circular control flow traveling from a component dispatching an action, to a store reacting to the action, back to the component through a state select.
![](https://www.ngxs.io/~gitbook/image?url=https%3A%2F%2F3087215050-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-L9CoGJCq3UCfKJ7RCUg-887967055%252Fuploads%252Fgit-blob-7371002ded66c4455ca986a4c8e7c1f6849ffef9%252Fdiagram.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=380da5d3&sv=1)
Last updated