iam4x/isomorphic-flux-boilerplate

Question: Notification component implementation

Open

#123 ouverte le 9 oct. 2015

Voir sur GitHub
 (5 commentaires) (0 réactions) (0 assignés)JavaScript (115 forks)github user discovery
help wantedquestion

Métriques du dépôt

Stars
 (791 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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:

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!

Guide contributeur