- Components encourage a unidirectional data flow and make state explicit.
- Inside the component you usually access the properties (or child JSX elements for more powerful components) and they are immutable.
- The attributes provide a descriptive API and as long as they don’t change there is no regression if the component is changed.
- Data can only be entered into JSX elements through descriptive properties and nothing else, so every component forces the creator to think about his interface.
- Thanks to the tree-like structure, it’s easy to find issues by going one component deeper.
Read the full article, click here.
by Severin Kistner
How React Makes Web Development Scalable