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 & concurrent rendering #656

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Stub out suspensy things (suspense example now works)
  • Loading branch information
tom-sherman committed Apr 11, 2024
commit 755a0bf948084b265d36e0acb83508e1a2489f70
9 changes: 9 additions & 0 deletions src/reconciler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,4 +309,13 @@ export default createReconciler<
// TODO: May return false here if we are confident that we don't need to suspend
return true;
},
startSuspendingCommit() {},
waitForCommitToBeReady() {
return null;
},
preloadInstance() {
// Return true to indicate it's already loaded
return true;
},
suspendInstance() {},
});