-
Notifications
You must be signed in to change notification settings - Fork 15
Thunk support #160
Comments
Yes, thunks are supported. The store setup looks fine so I'll need to see the thunk and how you're dispatching it to help you out any further. I'm on holidays at the moment, so my response times might be a bit slow. |
I tested it again and it works now for some reason. I spent an hour trying to fix it yesterday and thought that it had something to do with your library. Sorry for wasting your time. |
Ha, no worries. I have to mention one thing though: export const Spreadsheet = props => {
const ConnectedSpreadsheet = dynamic(
props.identifier,
subspaced(),
attachReducer(spreadsheetReducer)
)(UnconnectedSpreadsheet);
return <ConnectedSpreadsheet {...props} />;
}; There is an issue with this snippet. For basic use cases, you can us the I've seen cases where |
Is Redux Thunk supported?
I configured my store to
import { createStore } from "redux";
import { rootReducer } from "./reducers";
import { composeWithDevTools } from "redux-devtools-extension";
import dynostore, { dynamicReducers } from "@redux-dynostore/core";
import thunk from "redux-thunk";
import { applyMiddleware } from "redux-subspace";
export const store = createStore(
rootReducer,
composeWithDevTools(dynostore(dynamicReducers()), applyMiddleware(thunk))
)
but my thunk doesn't get executed.
The text was updated successfully, but these errors were encountered: