Re:Making websites with vanilla JavaScript in 2019?
by combatentropy on Thursday March 28, 2019 @05:20PM
(#19516748)
First of all, vanilla JavaScript is far easier with IE 11 or Edge (and was always easy with Firefox and Chrome). But it was jQuery that I used before. That's what I would contrast with vanilla JavaScript.
But you mention React, Vue, and Angular. Those are frameworks for single-page applications (SPA). So my advice there is not to make a SPA. Make a multi-page application instead. Someone wrote an article and called it the ROCA style, https://roca-style.org/
Basically you can still use JavaScript to show and hide things, but if the entire page is changing, I put that in a different file on the server.
But you mention React, Vue, and Angular. Those are frameworks for single-page applications (SPA). So my advice there is not to make a SPA. Make a multi-page application instead. Someone wrote an article and called it the ROCA style, https://roca-style.org/
Basically you can still use JavaScript to show and hide things, but if the entire page is changing, I put that in a different file on the server.