Writing my first React project today (only done preact before). Why doesn't React provide ES6 modules?
-
-
no not at all. I'm legit just asking for context here. The anwser seems to be that commonjs was the format of choice at the start and therefore all the patterns that come along with node have been used.
-
I was just surprised that the react code on npm doesn't "just run" on the web. I have since been told that react assumes a bundler environment.
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 