You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #125startTransition was used which requires React 18. The Readme makes no mention of this and only talks about Node 14 and specifically says there's no other changes.
Steps to reproduce the bug
Try to compile with React 17
Errors with Error: Uncaught [TypeError: i.startTransition is not a function]
Expected behavior
I expected the Readme to mention that React <18 are no longer supported.
Logs, error output, etc.
No response
Screenshots
No response
Additional context
Alternatively, it would be nice if this would still support React older than 18. For example, you could use useTransition instead to get a startTransition function.
Hi @jameshartig, thank you for opening this issue, nice catch!
It seems like you already have a good solution for this. Would you like to open a PR with your suggestion or do you prefer we handle it?
Thanks 🙂
jameshartig
added a commit
to jameshartig/proxy-client-react
that referenced
this issue
Nov 16, 2023
Describe the bug
In #125
startTransition
was used which requires React 18. The Readme makes no mention of this and only talks about Node 14 and specifically says there's no other changes.Steps to reproduce the bug
Error: Uncaught [TypeError: i.startTransition is not a function]
Expected behavior
I expected the Readme to mention that React <18 are no longer supported.
Logs, error output, etc.
No response
Screenshots
No response
Additional context
Alternatively, it would be nice if this would still support React older than 18. For example, you could useuseTransition
instead to get astartTransition
function./cc @faessler
Unleash version
No response
Subscription type
None
Hosting type
None
SDK information (language and version)
No response
The text was updated successfully, but these errors were encountered: