-
Notifications
You must be signed in to change notification settings - Fork 79
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
Feature Request: Pure actions that don't require a middleware #31
Comments
Hey @bobbydixit, I currently don't have time to do that. Could you give it a try? |
@LouisBarranqueiro I am busy this week will give it a shot next week |
+1 for this 😄It would be great to not have the dependency of a specific middleware. |
@LouisBarranqueiro the only solution I can think of is to move all the logic that's there in actions in src/store/notifications.js to a component, it might involve modification of components and addition of extra states, do you have any issue with this approach, if none then I will start working on it |
what are the problems that you encounter? |
@LouisBarranqueiro But there is an issue in making the actions pure I wl modify the test after we have finalized implementation for update notification |
Would love to see this improvement |
I'm thinking about this, not decided yet but to take the right decision regarding the implementation I would like to understand why you need pure actions? Do you use redux-saga? or another middleware? Could you please do the same @JonnyHeavey by commenting on this issue? |
I was so set on this package until I saw that it requires Thunk middleware. That isn’t an option in my case. I don’t think I would have set it up that way even if it were. It’s an odd requirement. I may be able to help with this change if anyone wants to pair up! Lemme know. |
This will be done in the new version. More information in #308 |
I just released the v3.0.0 of Reapop. This is done. :) |
It would be better if all actions were pure. i.e. not dispatching any other action so that user can use the library without any middleware. or even when user is using some other middleware like redux-saga. even then they should be able to use the library
The text was updated successfully, but these errors were encountered: