-
Notifications
You must be signed in to change notification settings - Fork 47.3k
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
Bug: TypeError: Object is not a function or its return value is not iterable (0.0.0-experimental-7b84dbd16) #21095
Comments
The idea is that you'd create one using something like Code Sandbox :) Without a repro I can't be positive, but it seems like @eps1lon has answered this question though, so I'm going to close this issue for now. |
@eps1lon thank you. But now I get an error that App suspended while rendering, but no fallback UI was specified. As you can see I do have a fallback set and this is my only call to Suspend. |
|
Thank you Dan. Really appreciate it. |
No problem. Appreciate you playing with experimental stuff! Sorry the docs are rough/outdated. We're focused on polishing this and getting it into a releasable stage and then we'll have better docs. |
Btw, https://github.com/reactjs/server-components-demo is the latest thinking on how the pieces fit together. So feel free to check that out too. It has a few uses of |
@gaearon I totally understand. I should have done my own investigation before I submitted. I love React and am eagerly waiting for concurrent mode. |
No worries at all, it's a bit hard to find the info now. Feel free to ask any follow-up questons here! |
I am playing around with concurrent mode and get this error when calling useTransition. Has this function been removed or renamed?
React version: 0.0.0-experimental-7b84dbd16
Steps To Reproduce
const [startTransition, isPending] = useTransition({
timeoutMs: 3000,
});
Link to code example:
I don't have one
The current behavior
The expected behavior
I was trying to test transitions in concurrent mode so I would think it would just transition.
The text was updated successfully, but these errors were encountered: