DEV Community

Discussion on: React - Stateless vs Stateful Components

Collapse
 
dance2die profile image
Sung M. Kim

Thanks Matthew.

Understanding the distinction in this article is helpful for new React beginners because having states unnecessarily spread out everywhere can cause components to have many sources of truth thus out of sync ♻ (e.g. initializing a component state to that of a prop).