Skip to content

Repository files navigation

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Try React Compiler:

  1. https://react.dev/learn/react-compiler 0.1 Check existing project - npx react-compiler-healthcheck@latest
  2. npm create vite@latest
  3. npm install --save-exact react@rc react-dom@rc
  4. npm install -D babel-plugin-react-compiler
  5. npm install eslint-plugin-react-compiler
  6. Check CounterCard 5.1 Check how many renders without Compiler 5.2 Check how many renders with Compiler 5.3 Move increaseCount directly to JSX
  7. Check UserCard 6.1 issue with UserListItem / memo(UserListItem)
  8. Check eslint error
  9. Check CtrlButtons 8.1 Check CtrlButtons without Compiler (issue with ref.counter) 8.2 Check CtrlButtons with Compiler
  10. Check LaughButton 9.1 Try to disable eslint rule 9.2 Check LaughButton without Compiler 9.3 Check LaughButton without Compiler

Links:

React Compiler - https://react.dev/learn/react-compiler Article - https://blog.logrocket.com/exploring-react-compiler-detailed-introduction/ React Conf - https://youtu.be/T8TZQ6k4SLE?t=12020 YouTube - Jack Herrington - https://www.youtube.com/watch?v=PYHBHK37xlE&ab_channel=JackHerrington

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages