-
Notifications
You must be signed in to change notification settings - Fork 77
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
v4 examples are broken because the actions argument is missing #84
Comments
Wait.. is this by design? Line 68 in c1ae73c
That would mean that this example should not be working anymore?
And instead should be:
@didierfranc If you can give me some confirmation I wouldn't mind updating the examples / docs. |
I'm also interested in why the author changed this, is it something could be documented ? Why we need action in another action ?, is it for chainable action ? |
I'll check examples and update them with v4 final ;) |
Working on converting a working v3 implementation to v4, but I'm having some issues.
I renamed
actions
in the config toactionsCreators
andinitStore
tocreateStore
. Then in my consuming component I also addedactions
to the import from the store.My config looks like this:
The function in the component triggering the action now looks like this (where it would first do
this.props.actions...
):But when the action is called the param fileName is an object containing all the actions instead of the provided value.
Am I missing something here or is something fishy going on? (Working in typescript / webpack so might also be a compilation issue?)
The text was updated successfully, but these errors were encountered: