Closed rod-glover closed 4 months ago
Wherever a component is just a transform of its props, use a functional component. They are simpler to code, and React suggests these are more efficient to manage and render.
Transition to hooks fixed all.
Wherever a component is just a transform of its props, use a functional component. They are simpler to code, and React suggests these are more efficient to manage and render.