Double Your React Coding Speed With This Simple Trick
4 easy tips on how to become a faster React developer:
- Never format your code by hand
- Never import modules by hand
- Jump around (with hotkeys) like a pro
- Use ESLint linting
To be fast you need:
- Separate business logic from the view logic
- Use TypeScript to experiences fewer bugs
- Use TypeScript to enable powerful IDE features: linting, name refactoring, autocompletion
- Define TypeScript types before writing code for the rapid architecture design
- Split your code into many small reusable files to reduce clutter
- Ask your IDE to format code and import modules
- Jump around files with hotkeys
- Practice refactoring