re: Namespaces and Javascript: I Don’t Know What I’m Doing VIEW POST

re: So, I’m curious: What is the best way to handle JS namespaces? I don't namespace. I use es modules and bundle them with webpack (for web apps). ...

I'd be happy to learn more about this approach. I'm very trailing-edge in most of the technologies I use, because I regularly switch between dev to admin to helpdesk, so a link that goes into how this works and why would be appreciated.



If you are just starting out with this, I would recommend looking into Parcel (Getting Started). It's an easy to configure bundler. You can get up and running in a few minutes.

I personally prefer Webpack (Getting started) because I am more familiar with it. You'll have to be familiar with other toolsets, like babel or webpack-devserver, etc. It's more work.

Got questions, hit me up on Twitter!


code of conduct - report abuse