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

React 19 and React Compiler support #132

Open
2 tasks
pionxzh opened this issue May 26, 2024 · 0 comments
Open
2 tasks

React 19 and React Compiler support #132

pionxzh opened this issue May 26, 2024 · 0 comments
Labels
enhancement New feature or request scope: unminify

Comments

@pionxzh
Copy link
Owner

pionxzh commented May 26, 2024

API Changes

  • forwardRef: ref as a prop
    • looks ok
  • useTransition
    • should be added to un-smart-rename
  • useFormStatus
    • looks ok
  • useOptimistic
    • const [optimisticName, setOptimisticName] = useOptimistic(currentName);
    • should be added to un-smart-rename
  • useActionState
    • Not sure should we handle this
  • <Context> as a provider
    • looks ok

React Compiler

  • require control flow analysis which is also required by rule un-async-await
@pionxzh pionxzh added enhancement New feature or request scope: unminify labels May 26, 2024
@pionxzh pionxzh changed the title React 19 support React 19 and React Compiler support May 29, 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 scope: unminify
Projects
None yet
Development

No branches or pull requests

1 participant