DEV Community

Discussion on: FrontEnd Workflow help

Collapse
shiftyp profile image
Ryan Lynch (he/him) • Edited

HTML, by itself, isn't composable in that way. Components are usually built in Javascript or something you can turn into Javascript. This is because in order to render they need access to the DOM to change the page dynamically. They also usually require some additional framework code to run, otherwise they would be more complicated individually. There are some divergent directions I could recommend, but I'd want to know what you think of the above first.