Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Inline HTML is not a very clean code best practise #3

Open
tomvlk opened this issue Oct 21, 2021 · 0 comments
Open

Inline HTML is not a very clean code best practise #3

tomvlk opened this issue Oct 21, 2021 · 0 comments

Comments

@tomvlk
Copy link

tomvlk commented Oct 21, 2021

Better move to a templating engine, or at least split the different routes to different JS files? This way it improves the readability of the code, removes additional clutter, and makes it less easy to make mistakes when adjusting things. Also it makes it easier for any frontender to work on the project if the person doesn't have much experience in backend.

Example: https://github.com/voltbonn/volt.link/blob/main/backend/index.js#L283

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant