acdlite / flummox

Minimal, isomorphic Flux.
http://acdlite.github.io/flummox
1.69k stars 114 forks source link

More topic guides needed in doc #247

Open kawing-chiu opened 9 years ago

kawing-chiu commented 9 years ago

Flummox is one of the best flux implementation out there currently IMHO. It would be great if the docs are further enhanced. Especially I think guides on these two topics will be very helpful:

  1. Ajax. Where and how are we supposed to fetch data from server within the framework? An example is here http://alt.js.org/guide/async/.
  2. Login. This guide should show how token management, redirection of unauthenticated users (probably with react-router) etc mix in the framework.
sergeylaptev commented 9 years ago

+1, especially for the second point. Should I store userToken in localStorage after success login action and how correctly deserialize currentUser info (including avatar etc) from the server after server-side render.