labcodes / django-react-boilerplate

Boilerplate for a Django + React project
41 stars 7 forks source link

Migrate react code to react hooks #55

Closed lucianoratamero closed 3 years ago

lucianoratamero commented 3 years ago

Since react hooks are the industry standard, it would be nice for us to use react hooks instead of class based components in this project. That would also mean changing a bit of our testing stach, that still uses enzyme, to something more modern and compatible, like react testing library.

Another good thing would be to migrate all component js files to jsx, since it's the more proper file extension.