3 ms·
Including the 'accounts' app is actually pretty useful. Then even a newcomer to react and redux can see how the front and back end are hooked up. I'd encourag
by rahimnathwani 11y ago
Including the 'accounts' app is actually pretty useful. Then even a newcomer to react and redux can see how the front and back end are hooked up.
I'd encourage anyone to look at these files:
Auth action (which depends on the accounts app and DRF): https://github.com/Seedstars/django-react-redux-jwt-base/blob/master/src/static/actions/auth.js https://github.com/Seedstars/django-react-redux-jwt-base/blo...
Auth Reducer (which changes redux state based on the outcome of login/logout actions): https://github.com/Seedstars/django-react-redux-jwt-base/blob/master/src/static/reducers/auth.js https://github.com/Seedstars/django-react-redux-jwt-base/blo...
- deleted 11y ago[deleted]