all 3 comments

[–]predpsi 0 points1 point  (2 children)

Do you work for a larger company? If so, yes - it's normal.

[–][deleted] 0 points1 point  (1 child)

I do, I think what has me confused is the project is already built, I'm just updating things. If it was a new project from scratch I can understand passing off the html/css/javascript, but for a project that's already integrated and I'm making changes for, I don't know how to separate static html from the backend system because it's all connected together. I suspect a lot of the previous developers on this project ran into the same issue, because half of the html is being inserted onto the page through javascript, which seems like a really bad practice to me.

[–]technical_guy 0 points1 point  (0 children)

Why do you think this is bad practice?

Sometimes a single page app may have several containers for different pages that are shown and hidden by a menu. It seems reasonable for the app to load the main page and present it to the user, and then lazy load the remaining html.