Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/essomia/react18-demo

A complete demo of React 18 features with notes - #MonthChallenge - Dec 2021
https://github.com/essomia/react18-demo

react react18 reactjs

Last synced: 16 days ago
JSON representation

A complete demo of React 18 features with notes - #MonthChallenge - Dec 2021

Awesome Lists containing this project

README

        

# React 18 Demo

Project to test new React 18 features and show differences on how the things are handled.

## Command

`npm start`

- Runs the app in development mode.
- Open http://localhost:3000 to view it in the browser.
- The page will automatically reload if you make changes to the code in `./src/`.
- You will see the build errors and lint warnings in the console.

`npm run build`

- Builds the app for production to the build folder `./build/`.
- Optimizes the build for the best performance.
- The build is minified and the filenames include the hashes.
- Your app is ready to be deployed.

`npm run lint`

- Apply ESLint rules and Prettier config to `./src/` files.

## Demo - React 17 vs React 18

The demo you can see at http://localhost:3000 will allow you to compare side-by-side two version of React:

- Legacy Root API for React 17
- New Root API for React 18

Read more in the [notes about React 18 new features](./UPGRADE.md).