install react js
npx create-react-app <appname> // eg: npx create-react-app blog
cd <appname> // cd blog
npm start //runs on localhost:3000
install react js
npx create-react-app <appname> // eg: npx create-react-app blog
cd <appname> // cd blog
npm start //runs on localhost:3000
reactjs install
npm install -g create-react-app -> install create react app tools
create-react-app app01 -> create your first projects app001
react.js
class ShoppingList extends React.Component {
render() {
return (
<div className="shopping-list">
<h1>Shopping List for {this.props.name}</h1>
<ul>
<li>Instagram</li>
<li>WhatsApp</li>
<li>Oculus</li>
</ul>
</div>
);
}
}
// Example usage: <ShoppingList name="Mark" />
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us