create a cheat sheet for ngrx
Ngrx Cheat Sheet: 
- Ngrx is an RxJS library for managing state in an Angular application. 
- It provides two main components: Effects and Actions. 
- Effects are used to modify the state and Actions are used to trigger an effect. 
- Actions are created using the ActionCreators interface, which contains a function to perform an action and a type to identify the action. 
- The effects are registered using the EffectsStore, which is an instance of the ReplaySubject class. 
- The Store is responsible for dispatching actions and updating the state. 
- The state is stored in the Redux-like store, which is an instance of the Selector class. 
- The Selector is responsible for retrieving the current state from the store and providing it to the components that need it.
  Sure! Here is a cheat sheet for NgRx, a state management library for Angular and other frameworks:

**Store**

* `createStore()`: Creates a new store instance
* `useStore()`: Uses a store instance in a component
* `provideStore()`: Provides a store instance to a component
* `store`: The root store instance of the application

**Actions**

* `createAction()`: Creates a new action
* `ofType()`: Maps an action type to a payload
* `map()`: Maps an action to a new action
* `merge()`: Merges two or more actions into one
* `reduce()`: Reduces an array of actions into a single action

**Effects**

* `createEffect()`: Creates a new effect function
* `attachTo()`: Attaches an effect to a store
* `detachFrom()`: Detaches an effect from a store
* `effects`: An array of effect functions that are executed when the store changes

**Reducers**

* `createReducer()`: Creates a new reducer function
* `addReducer()`: Adds a reducer to the store
* `removeReducer()`: Removes a reducer from the store
* `reducers`: An array of reducer functions