re: JavaScript predictions for 2019 by npm VIEW POST

re: Sounds like a lot more of 2018 to me. React sure does enjoy a lot of hype, but according to one recruiter I recently spoke to React only accounts ...

How do you import your library into your web component? By leveraging webpack?


What exactly do you mean? If the library is distributed as esm, you would just import the methods you need with import. If the library is distributed as commonjs, you require them. A bundler like Webpack, Rollup, Parcel, or SystemJS would be needed to bundle everything together just like any other JavaScript project.

code of conduct - report abuse