- pnpm create vite
- pnpm add -D eslint-plugin-react-compiler@beta
- pnpm add react-compiler-runtime@beta babel-plugin-react-compiler@beta valtio
- Update eslint config to use plugin, and vite.config.ts to use babel plugin (skimming though this guide helped me).
- Create a proxy object, and use the proxy object using valtio's useProxy hook.
- Modifying the proxy object should be safe to do, but the compiler rules are too simple to realize that it is safe.
-
Notifications
You must be signed in to change notification settings - Fork 0
nmay231/eslint-plugin-react-compiler-bug
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published