redux-injectors
redux-injectors copied to clipboard
Asynchronous injectors for Redux reducers and sagas. As used by react-boilerplate.
I have two slices in my store. Each has one reducer which I inject at the root of my react app. notificationSlice.ts ``` Typescript import { AnyAction, createSlice, PayloadAction }...
I am trying to get the initial state values from the Store directly using const store = createStore(reducer, composeEnhancers( ... )); store.getState() I am getting undefined
According to the source code of `createManager`, we can not pass `reducer` and `saga` in the parameter `options`: ```js const isReducerInjected = reducer //
I have a issues when use redux-injectors with React ^18.
Updating to @reduxjs/toolkit 1.6.0 gives the following type errors with the following code : ```typescript import { configureStore, getDefaultMiddleware } from '@reduxjs/toolkit' import { createInjectorsEnhancer } from 'redux-injectors' // ......
I think we no longer need a dev branch. The reason for a dev branch in `react-boilerplate` makes sense, because it's a template and people make projects off of `master`...
When trying to create a new app with redux v8 installed I get the following error: ```cmd npm ERR! Found: [email protected] npm ERR! node_modules/react-redux npm ERR! react-redux@"8.0.4" from the root...
We are doing integration tests with our react app but couldn't create the store with `preloadedState` ``` Unexpected key "injectedSlice" found in preloadedState argument passed to createStore. Expected to find...