Just another VanillaJS framework for personal purpose.
  • JavaScript 94.3%
  • Shell 5.7%
Find a file
2023-02-03 19:57:29 +01:00
dist map() to for of, and new utils 2023-02-03 19:57:29 +01:00
src map() to for of, and new utils 2023-02-03 19:57:29 +01:00
LICENSE Initial commit 2023-01-25 01:53:07 +01:00
README.md map() to for of, and new utils 2023-02-03 19:57:29 +01:00

Vanille

Just another VanillaJS framework for personal purpose. I use _loader.js to list all the files I need. Then, when everything works, I simply execute build.sh or cat file1.js file2.js >> vanille.js to get a production version. Will write more about all of this later.

Usage of ES6 for … of

We could use forEach or even map instead of the for … of loops. But performance-wise, those loops are 2 to 3 times faster: https://leanylabs.com/blog/js-forEach-map-reduce-vs-for-for_of/