Redux
Theory
- Why, what
- Redux
- How redux stores data
- Architecture
- Store
- pros and cons
- Redux store
- Middleware
- Calling APIs
- React reducer vs Redux
- Store
- Dispatch
- subscribe
- unsubscribe
- getState
- replaceReducer
- Store enhancer
- Action
- Action creator
- Reducer
- rules
- Redux data flow
- Redux principles
- Store
- Action
- Reducer
- Selectors
- Memoized selector
- Middleware
- - Logger, crash reporting
- - Perform async tasks
- applyMiddleware
- Redux Thunk
- Thunk vs saga
- Payload creator
- Adding multiple middleware
- Slice
- init state
- reducers
- extraReducers
- Redux toolkit
- Nanoid
- Redux Query.
- Normalising Data
- Normalised state
- createEntityAdapter
- shallowEqual, reference equality
- Serializing
- Hydrating
- redux vs flux
- saga vs thunk
Other
- Immer and the working of Immer in redux.
- Access store outside of redux components
- Flux by fb
- Log rocket
- createAsyncThunk
- createEntityAdapter
- createSelector
- createListenerMiddleware
JWT
- What?
- Structure
- Header
- Payload
- iat
- exp/eat
- Signature
- Authentication working
- Pros and cons
- Expiration Time
- Bearer token
- Revocation
- refresh token
- Authentication vs Authorization
- Types of Claims
- public
- registered
- private