-
Notifications
You must be signed in to change notification settings - Fork 348
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
feat(react): add startTransition #838
Conversation
Thanks @r17x |
@@ -872,10 +872,15 @@ module Uncurried = { | |||
"useCallback"; | |||
}; | |||
|
|||
type callback('input, 'output) = 'input => 'output; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is already defined in line 471
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just saw 757dd23
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for confusing @anmonteiro, I should have PASSED Pipelines before merge this PR.
CHANGES: * Add `isValidElement` (@r17x in reasonml/reason-react#837) * Add `startTransition` (@r17x in reasonml/reason-react#838) * Convert `ReasonReactErrorBoundary` to Reason instead of `%raw` JS. This has the benefit of skipping a hardcoded `require('react')` call (@anmonteiro in [reasonml/reason-react#839](reasonml/reason-react#839)) * Add CSS Box Alignment Module Level 3 (@davesnx in reasonml/reason-react#847) * Fix: Remove "unique `key` prop" warnings from multi-child fragment elements (@jchavarri in reasonml/reason-react#852)
CHANGES: * Add `isValidElement` (@r17x in reasonml/reason-react#837) * Add `startTransition` (@r17x in reasonml/reason-react#838) * Convert `ReasonReactErrorBoundary` to Reason instead of `%raw` JS. This has the benefit of skipping a hardcoded `require('react')` call (@anmonteiro in [reasonml/reason-react#839](reasonml/reason-react#839)) * Add CSS Box Alignment Module Level 3 (@davesnx in reasonml/reason-react#847) * Fix: Remove "unique `key` prop" warnings from multi-child fragment elements (@jchavarri in reasonml/reason-react#852)
Reference: https://react.dev/reference/react/startTransition