Zac Anger's Blog

More React Notes

2016-04-27

Tags: react

Lifecycle &Co.

The big, big difference between props and state: state is private to components. A parent component (or any other component) can never manipulate the state of another (with setState or whatever).

Defaults set in getInitialState will be used for initial rendering.