Tips to improve React code, including using currying in handlers, separating responsibilities in components, using object maps instead of conditions, and putting independent variables outside of React lifecycle.
Table of contents
Return functions from handlersSeparate responsibilitiesUse objects map instead of conditionsPut independent variables outside of React lifecycle25 Comments
Sort: