News for hackers. Stuff that matters.
Re:Making websites with vanilla JavaScript in 2019? by quickthrower2 on Thursday March 28, 2019 @04:51AM (#19510424)
If you don't need to do much, then why not? If you are sprinkling validation, maybe a notification or two, and can assume modern browsers then vanilla is good. Although I'd still use Typescript and Webpack.
Re:Making websites with vanilla JavaScript in 2019? by samuraiseoul on Thursday March 28, 2019 @10:39AM (#19512614)
Typescript can bundle and minify now, is there really a need for webpack for a small website? Even if you're using it for sass or something, just run the sass builder separate and include the generated css on page. Webpack seems like overkill in a small site like this.
Re:Making websites with vanilla JavaScript in 2019? by quickthrower2 on Thursday March 28, 2019 @06:23PM (#19517236)
I'll have to give that a try again. Last time I ran into some problem. Might be due to limitations on which module system you can use.