I have a question about how to use React without Nodejs. I know there is a CDN link that we can use React like a normal script. But what I want is be able to import React like a module (es6) without Nodejs
From React source code I see import statement like this:
import ReactVersion from 'shared/ReactVersion';
But I think it only work with Nodejs, right? Because from what I know, es6 import statement requires to ".js" to be added
Is it possible? Do you have any idea?
Thanks for your help