Ask HN: Vanilla JavaScript Code Organization Projects Recommendation?

3 points by calebjosue ↗ HN
Hello!

In 2011 I've used to write JavaScript on a single file. Then I stopped using JavaScript (I happen to like it). but my career has been mostly with Java.

Fast Forward 2023. Do you fellows have some projects that are good examples of how code is organized for JavaScript applications (Client Side) without using any Framework? I am aware of the new additions JavaScript has added in the last years, my question is more related to good examples of Software Engineering using Vanilla JavaScript.

Thanks!

3 comments

[ 2.8 ms ] story [ 11.4 ms ] thread
I suggest you familiarize yourself with ES5/6 changes. For me classes and modules makes JS more like class-based language. During development on local cluster I prefer to have one file/module per class. For me the biggest gotcha has been the increased use of promises, async/await in the numerous Web APIs.