News for hackers. Stuff that matters.
Re:Today’s Javascript, from an outsider’s perspective by nicbou on Tuesday May 26, 2020 @03:12AM (#23308265)
When I learned Vue, I just inclued the library with a script tag, and started writing plain JavaScript around it.

That was about 3 years ago, and I just started using modules. Even then, I use the native browser modules, no Webpack. With HTTP2, there is little cost to requesting many small files.

Likewise, I don't use a CSS preprocessor in any of my projects. They aren't that complicated.

Those projects have no build process. What you write is what you run (WYWIWYR?). If the project is small enough I'll serve its root directory with Python's SimpleHttpServer. Later, I might have nginx do it.

This allows me to get a project running in a minute. I add tools when they are needed, because then I have the motivation to learn them and set them up properly.

Such tools are required if you must coordinate the work of multiple developers. Their cost is divided by the number of devs, and their benefits multiplied.

If you're just a home gamer toying around, you can do without them.

There are no comments on this comment yet.