/react-starter-code

Starter code for a React application

Primary LanguageHTML

Todo React App Instructions (Modern React / Hooks Based)

Modern React Instructions

You will find almost all current React documetation and recent tutorials are going to look like this style.

  1. Setup Instructions
  2. Getting Started (conversion part 1)
  3. AJAX and Events (conversion part 2)
  4. Code snippets and React Examples

Old React Instructions

The slides and Canvas documentation are in this style.

  1. Setup Instructions
  2. Getting Started (conversion part 1)
  3. AJAX and Events (conversion part 2)
  4. Code snippets and React Examples

Everything below this line will be covered in a more detailed manner, if you use the above links.

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm run deploy

PREREQUISITE: Edit the homepage field in package.json file and replace "GROUPNAME" with the name of your group.

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your app will then be deployed to the gh-pages branch of your github repository.

See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.