File names should reflect these rules as well.
UpperCamelCasefor component and class names (except hooks)lowerCamelCasefor hooks, variable and method names
- Create new Styled Component classes for any component requiring styles
- Check
Mixins.tsxfor common styles that can be reused in your component - Common styles include heading and body text, box shadows, hover animations and cards
- Only use colors found in the
GlobalTheme.tsxfile by accessing thethemeprop in your Styled Components
- Always use hooks when available instead of an HOC
- eg) React Router, Apollo, Styled Components, etc.
- Avoid explicitly using the
anytype - If you see any component using an explicit
anytype, try to clean it up when possible