Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automatic optimizations #30

Open
ElenaCherpakova opened this issue May 21, 2024 · 0 comments
Open

Add automatic optimizations #30

ElenaCherpakova opened this issue May 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ElenaCherpakova
Copy link
Owner

If you are familiar with useMemo, useCallback, and React.memo. The compiler can automatically do this for us. Note: React Compiler is a new experimental compiler!
Documentation for reference:
react-compiler
Currently, when you run the command "npx react-compiler-healthcheck."
What it does:
Check how many components can be successfully optimized: higher is better
Check for usage: having this enabled and followed means a higher chance that the Rules of React are followed
Check for incompatible library usage: known libraries that are incompatible with the compiler.

What we have in our app:
Screen Shot 2024-05-21 at 1 26 01 PM

@ElenaCherpakova ElenaCherpakova added the enhancement New feature or request label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant