Conventions
Last updated
Last updated
There are some code conventions that the toynet-react
codebase tries to follow that are not set in any ESLint rule but will be enforced on code reviews. These conventions help to keep the codebase similiar across the various components and files in the proejct.
We use for most of its components.
We try not to use inline styles (e.g. style={{ color: 'white' }}
).
We use for custom styles that cannot be achieved using the traditional props of the Chakra component (i.e. custom media queries).