flummox icon indicating copy to clipboard operation
flummox copied to clipboard

More topic guides needed in doc

Open kawing-chiu opened this issue 9 years ago • 1 comments

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.

kawing-chiu avatar Jun 13 '15 03:06 kawing-chiu

+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.

sergeylaptev avatar Jun 13 '15 15:06 sergeylaptev