Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.13 KB

README.md

File metadata and controls

40 lines (32 loc) · 1.13 KB

FAQ

  1. Don't type things as any
  2. Don't use default exports
  3. We prefer type over interface
  4. Don't use prefix I in type name
  5. Destructure props only when its necessary
  6. Please add unit tests for functions you wrote
  7. Use naming convention feature/my-awesome-feature and bugfix/some-bug for branches
  8. Use this style guide in commits
  9. Commit only code that successfully passes 'yarn full'
  10. Don't use hardcoded strings, use i18n
  11. Use meaningful names for variables and components
  12. Try to write reusable code

Please Don't use FC to type React Components without children.
instead do sth like this

type ComponentProps = {
  label: string
}

export const Component = (props: ComponentProps) => {
  //...
}

Links

FIGMA

BACKEND

  • Docs: https://akademia.danielgrychtol.com/api/docs
  • Base URL: https://akademia.danielgrychtol.com/api