Comment by lkschubert8
3 years ago
Wouldn't the include still need some templating functionality? Or are people using vue that heavily for just importing static html?
3 years ago
Wouldn't the include still need some templating functionality? Or are people using vue that heavily for just importing static html?
Not the parent comment, but my personal use case is for rendering a selectable list. The server side would render a static list with fragment links (ex. `#item-10`) and include elements with corresponding IDs, and a `:target` css rule to unhide the element. This would hopefully be paired with lazy loading the include elements.
edit:
My goal is to avoid reloading the page for each selection and rendering all items eagerly. JS frameworks are the only ones that really allow this behavior.