i have been reading this guide on react where the following paragraph has kind of thrown me.
For a number of good technical reasons CommonJS modules (i.e. everything in npm) cannot be used natively in the browser. You need a JavaScript “bundler” to “bundle” these modules into .js files that you can include in your web page with a tag.
I was under the impression that i could do something like npm install jquery and then in my index.html file reference this through node modules, something like
<script src="node_modules/jquery/dist.jquery.js">
Is this not the case, or am I incorrect?