Answers for "react web app"

61

command to create react app

npx create-react-app my-app
cd my-app
npm start
Posted by: Guest on January-06-2020
-1

create react app

//open terminal and run this code
create-react-app newreact
//it will install all the packages
Posted by: Guest on September-02-2020
6

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" />
Posted by: Guest on April-28-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language