Typing with React*
Table of Contents
- Getting Started
- Introduction to React
- Setting Up the Project
- Implementing a Note Application
- Deleting Notes
- Understanding React Components
- Editing Notes
- Styling the Notes Application
- Implementing Kanban
- React and Flux
- Implementing NoteStore and NoteActions
- Implementing Persistency over localStorage
- Handling Data Dependencies
- Editing Lanes
- Implementing Drag and Drop
- Advanced Techniques
- Testing React*
- Styling React
- Structuring React Projects
- Language Features
- Understanding Decorators
In order to encourage people to support my work, I've decided to publish a TL;DR version of this chapter for the community. This will allow me to develop more content, so it's a win-win really.
You can access the full chapter by buying a copy through Leanpub. It goes into detail, whereas the following should give you a rough idea of the chapter contents.
- propTypes are great. Use them to improve the maintainability of your application.
propTypesgive you nice little errors during development, but will be stripped from the production build to improve performance.
flowitself is a static checker you have to run separately, babel-plugin-typecheck provides runtime checks during development.
- Microsoft's TypeScript is yet another alternative. Starting from the version 1.6 it will gain JSX support.
Buy the book for the rest.
This book is available through Leanpub. By purchasing the book you support the development of further content.