Closed chairbender closed 8 years ago
Got this mostly working. Next step is to store and initialize the state from document.cookie. And use the store instead of getting it directly from the cookie every time when doing an authenticated call. Basically, refactor Webservice.jsx to use the store not the cookie.
Also consider redesigning how webservice calls work to better mesh with flux.
Actually I'm fine with how the webservice auth works right now. No need to initialize it from document.cookie. We can keep that implementation detail private to Webservice.jsx
Implement Flux pattern using Redux for tracking state. For example for tracking logged in user name.
Docs here: http://redux.js.org/docs/basics/ExampleTodoList.html