skip to Main Content
  1. Home
  2. /
  3. Docs
  4. /
  5. Project Development and D...
  6. /
  7. Development
  8. /
  9. Frontend

Frontend

  • Provide styling content without embedding it within the TSX in the frontend, use external links for styles.
  • Online banking theming to be followed for colors, backgrounds, padding, and strokes.
  • Proper error handling using try-except blocks in Python and error boundaries in React.
  • If you are using `innerHTML` in a Jinja2 template, replace it with `innerText` so that your application is not prone to XSS attacks.
  • Never display user input data using `dangerouslySetInnerHTML` without sanitizing it first with a library like DOMPurify.
  • Leverage established libraries and frameworks so that reinvention is minimal; ensure that all the dependencies are kept up to date regularly.
Back To Top