facebookresearch/dynabench

Proposed Task: Migrate an existing class component

s0mya opened this issue · 0 comments

s0mya commented

While both class and functional components can co-exist, working on a codebase that has both is confusing.

The proposed task here is to pick a simple class component and make it functional!

There are several guidelines on how to do this: e.g.:
https://olinations.medium.com/10-steps-to-convert-a-react-class-component-to-a-functional-component-with-hooks-ab198e0fa139