tribou / react-template

Build a server-rendered React app and share code across web, React Native, and Electron
Apache License 2.0
4 stars 9 forks source link

Move auth token to redux #35

Closed tribou closed 7 years ago

tribou commented 7 years ago

Auth token should be moved to Redux as the "source of truth." Any additional storage (Cookie, AsyncStorage) should be handled as an async side effect. This will allow us to properly redirect on the server and RN.

tribou commented 7 years ago

Fixed by #37