Transition to functional React components #1543
Labels
good first issue
Good for newcomers
task
Something needs to be done
workbench
For issues relating to the workbench front-end of invest
When we began developing the workbench, class components were the standard and functional components were new. React has moved away from class components, and functional components are the standard. I haven't seen any indication that class components will be deprecated any time soon, but there are some reasons it would make sense to convert our code to use functional components:
i18next
is easier to use with functional components; exported class components require a workaroundeslint
warns against this, and the recommended solution uses the functional component style.The text was updated successfully, but these errors were encountered: