I like pug and having started to learn functional programming I have discovered pug-vdom.
So now I build my logic and state then inject it into a pug template and apply the pug-vdom virtual DOM to update the DOM. Not sure if that still counts as vanilla JS though!
I guess is not really about inserting into the DOM either, as all nodes already exist in the template to begin with...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I like pug and having started to learn functional programming I have discovered pug-vdom.
So now I build my logic and state then inject it into a pug template and apply the pug-vdom virtual DOM to update the DOM. Not sure if that still counts as vanilla JS though!
I guess is not really about inserting into the DOM either, as all nodes already exist in the template to begin with...