+ 5
In js frameworks we can use loops and conditionals in the html markups, but when it is useful?
3 odpowiedzi
+ 4
In js framewoks can use loops in lists, to generate result of database and conditional is goodnto manage dynamic content or hide or show layout
+ 5
When you need to make a recursive content. For example a list of users(where users get from BD), So you don't need to make it by hand, when a new user will appear.
+ 1
Thanks