skip to Main Content
-
Home
- /
-
Docs
- /
-
Project Development and D...
- /
-
Development
- /
- 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