DEV Community

Discussion on: Pure Functions in React

Collapse
keevcodes profile image
Andrew McKeever Author

With a React FE, most components should remain pure while leaving only a few components with the responsibility to handle state updates. React context or state management libraries make this concept easier to follow