Question: Notification component implementation
#123 建立於 2015年10月9日
倉庫指標
- Star
- (791 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
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!