- 2
Good morning sir. I want to import export-panel.html in import-app.html and i have error. Thanks you sir.
Import export file . https://code.sololearn.com/WB441Fiv0xiG/?ref=app
1 Resposta
0
For import and exporting it's better to use a tool called create-react-app. It is available on npm and creates a React development environment for you. If for some reason you need to use React via a cdn then if you are importing a component with JSX the browser won't recognise it and will throw an error. Also, it's not recommended to use JSX and Babel in production as using Babel to compile JSX live is very very slow.