{
function Component() {
const [state, setState] = useState("initial");
useEffect(() => {
const timeoutID = setTimeout(() => {
setState("committed");
}, 50);
return () => {
clearTimeout(timeoutID);
};
}, []);
return state;
}
const { container } = await render(
fix: Require
await act(...)
#1214New 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
base: main
Are you sure you want to change the base?
fix: Require
await act(...)
#1214Changes from all commits
81bd3f6
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Hello World
Hello World
Hello World
Hello World
Uh oh!
There was an error while loading. Please reload this page.