gothinkster / react-redux-realworld-example-app

Exemplary real world application built with React + Redux
https://react-redux.realworld.io
MIT License
5.55k stars 2.5k forks source link

Update React 16.12 & utilize hooks #144

Open bahtou opened 4 years ago

bahtou commented 4 years ago

covers PR 140 covers PR 142 covers PR 95 covers PR 68

will use this as a basis to update the rest of the package versions (react-router, redux etc). will also update redux to use hooks

ezorfa commented 3 years ago

Hi @bahtou It looks like there is an error when i sign in:

Screenshot 2020-08-28 at 09 41 24

and in the console:

Screenshot 2020-08-28 at 09 42 03

Do you have any solution for this error? I am using django backend

djimmo commented 3 years ago

@ezorfa Are you sure you:

1) checked out branch ver-class-updates of Bahtou's fork? 2) removed node_modules/ and package-lock.json and ran npm install again for a clean install of dependencies 3) cleared you browser's localStorage (where it saves a jwt token)

Doing these 3 things should fix your issue :)