Answer the question
In order to leave comments, you need to log in
What are the pros of using jade in single page application development?
What are the advantages of using jade compared to, for example, generating html with javascript?
After all, in jade, as I understand it, there is no dynamic rendering, and accordingly, all changes on the client side are made using js anyway. At the moment, I use jade to generate different page states depending on the route, but I can do this with js. So what are the advantages and convenience?
Answer the question
In order to leave comments, you need to log in
The advantages are the same as any other template engines. Separation of markup from code. Developer restrictions, so that he would at least think before pushing the logic into the template.
in the case of jade, we still get a fairly minimalistic markup compared to html. Well, yes, usually it is compiled into js and then used on the client.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question