Settings

Theme

Create a React 18-TypeScript-Vite project

nnote.io

5 points by ngduc 5 years ago · 2 comments

Reader

ngducOP 5 years ago

https://nnote.io/s/x4od5/react-18-with-vite-and-vercel

The new version of React - React 18 alpha has just come out. From ReactJS.org:

"There are no significant out-of-the-box breaking changes to component behavior. You can upgrade to React 18 with minimal or no changes to your application code, with a level of effort comparable to a typical major React release"

New Improvements:

- React.lazy - new streaming server renderer support.

- Automatic batching.

- New APIs (like startTransition).

This post will demonstrate a step-by-step guide to create your project using React 18 alpha, Typescript, Vite and deploy it to Vercel (freemium).

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection