Developer Experience
Debugging Tools
The following browser extensions can be installed to assist with debugging React and Redux applications:
Style and Formatting
We generally adhere to the Airbnb JavaScript Style Guide, unless they conflict with project specific Prettier or lint rules.
Auto-formatting
- Prettier is recommended.
- Prettier editor integration to make it easy to format and autosave.
- Prefer single quotes for non-JSX code (CLI:
--single-quote
API:singleQuote: true
) - Prefer trailing commas for cleaner PRs and error reduction (CLI:
--trailing-comma true
API:trailingComma: true
) - A
.prettierrc
will be in the project for custom settings.