Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. HTML values are kept out of the locale files

    • HTML values within translation key text can decrease the readability of it .

  2. Hard coded text is not used outside the locale files

    • Using hard coded text within the <Trans> component, means the text has to be maintained in two places. Therefore, we should avoid using hard coded text outside the locale JSON files for easy maintenance.

  3. Links used in the home page are kept inside the homeConfig.ts file

    • This is for easy alteration, if links happen to change

...