Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.51 KB

CONTRIBUTING.md

File metadata and controls

53 lines (38 loc) · 1.51 KB

Contribution Guide

Project Structure

  • /src - source code
    • index.tsx - Entrypoint (Provider chain, store rehydration, ...)
    • App.tsx - Root component
    • /store - State management
    • /modules - api, i18n, text, ...
    • /components - list, button, panel, ...
    • /utils - Miscellaneous utilities

Dev

cp .env.placeholder .env
yarn install --frozen-lockfile
yarn dev

Build

yarn build

i18n support for new features with text

  1. Check file for anything similar that can be reused
  2. If not, format a string following i18next docs
{ t("My new feature") }
  1. Run i18n command to add new string to translation files before comitting
npm run i18n

Links

References