pacificclimate / weather-anomaly-tool

0 stars 0 forks source link

Transform components to stateless functional components wherever possible #30

Closed rod-glover closed 4 months ago

rod-glover commented 7 years 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.

rod-glover commented 4 months ago

Transition to hooks fixed all.