Question: Notification component implementation
#123 opened on Oct 9, 2015
Repository metrics
- Stars
- (791 stars)
- PR merge metrics
- (PR metrics pending)
Description
Hi,
First of all, thanks for this boilerplate! It's awesome!
I've been playing with this and tried to implement a component that I created for notifications. I set this version using the component: https://isomorphic-react-app.herokuapp.com/
You can see the notifications when:
- Delete a user
- Add a user
When adding a user, sometimes it will fail and display a error notification and sometimes it will be success, just for simulation purpose. In case of fail, there is a button where the idea is re-do the action.
My concerns and goals here are:
- Ability to add a notification from a component action
- Respond to requests status passing a payload and listening in Notification Store.
As I'm new to Flux implementations, my question here is about the structure of the store and actions, if you guys think it's ok. The repo is here: https://github.com/igorprado/isomorphic-react-app
Thanks!