-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redux-thunk instead of actions #25
Comments
@goodmind Can you copy and paste your store setup code here for me to look at? After that, I'll try to replicate it and figure out what's going on. |
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose
const middlewares = [
thunk,
]
const storeEnhancers = composeEnhancers(
createStateStreamEnhancer(epicMiddleware),
applyMiddleware(...middlewares)
)
const store = createStore(
combineReducers(reducers),
storeEnhancers,
) |
@goodmind Alright, I'm pretty sure I know what the problem is. I'll try to work out a fix soon. Sorry, I never really intended it to be used in tandem with redux-thunk, but I should be able to make it work. |
@joshburgess btw it's just transition phase from thunks |
@goodmind Sorry for the long wait. I'm looking into this again now, but still in the process of figuring out how to accomplish it. It involves changing the definition of I'll have progress on it in a new branch called |
If used with
redux-thunk
I got functions in stream instead of dispatched actions. Used same way as in docs withcreateStateStreamEnhancer
The text was updated successfully, but these errors were encountered: