-
Notifications
You must be signed in to change notification settings - Fork 78
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
Manually setting a notification id #6
Comments
Hey @ckald,
Yeha, great idea, i'm on it I didn't understand the rest of your post
What the link with Reapop if you are implementing your notification system? |
If you like the idea, then ignore the rest. That is just an explanation on On Fri, Sep 23, 2016, 09:51 Louis Barranqueiro [email protected]
Andrii Magalich |
oh ok man :) Currently, the id is automatically generated but when you create a notification, all data of the notification (including id) is returned, with this way, you are able to update it or remove it. |
In my (redux) architecture this would require an inordinate amount of On Fri, Sep 23, 2016, 10:09 Louis Barranqueiro [email protected]
Andrii Magalich |
Yeah, let's do this, do you wanna PR? Your projet is based on Reapop or a custom notification system created by yourself? |
Hi,
I'm implementing a notification system coupled to redux-axios-middleware. I'm having a problem updating and removing notifications — I can trigger them, but there is no zero-boilerplate way to save their IDs for future reference.
I would like to be able to define the ID of the message myself, allowing to
Basically, I would love to use a scheme similar to Redux action naming conventions:
Seems that I could do this by implementing an action creator and a coupled reducer that would map between natural IDs and automatically generated ones. But it would be really cumbersome, because Redux reducers cannot dispatch actions and I am not sure how then to handle this. Doing this in reapop would be the most natural way to go
The text was updated successfully, but these errors were encountered: