Excerpt from the book FullStack React (Chapter 2 - Components)
In fact, this follows from a handy framework for developing a React app from scratch:
1. Break the app into components
2. Build a static version of the app
3. Determine what should be stateful
4. Determine in which component each piece of state should live
5. Hard-code initial states
6. Add inverse data flow
7. Add server communication
No comments:
Post a Comment