Code splitting in your vanillaJS app
ES6 introduced a way to easily share code among multiple javascript files.
This involves -
Exporting parts of a javascript file for use in other one or more javascript files.
Importing the parts you need in your javascript file from other javascript...
sourabhkheraliya.hashnode.dev4 min read