Answer the question
In order to leave comments, you need to log in
Is it possible to write React + JSX without Webpack? What are the downsides?
Is it possible to write in React + JSX without Webpack so that everything happens in the browser?
Answer the question
In order to leave comments, you need to log in
https://codepen.io/anon/pen/EwLLbN
Cons - the browser will have to compile the code on the fly, this is a big loss in performance.
Babel allows you to write in JSX, not webpack, so in the codepen example, a script with babel is added.
No. This is how vue can do it, and this is not .vue files, but divided into markup and component code
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question