reactjs hello world
ReactDOM.render(
<h1>Hello, world!</h1>,
document.getElementById('root')
);
0
3
reactjs hello world
===============================
npx create-react-app myapp
cd myapp
npm start
http://localhost:3000/
-----------------------------
* check version
node -v
npm -v
* npm upgrade
npm i -g npm-upgrade
Thank you!
3
0
Are there any code examples left?
New code examples in category Javascript