We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff4773c commit c76242fCopy full SHA for c76242f
src/alternate-renderers.ts
@@ -1,3 +1,5 @@
1
+'use client'
2
+
3
// The "alternate renderers" entry point is primarily here to fall back on a no-op
4
// version of `unstable_batchedUpdates`, for use with renderers other than ReactDOM/RN.
5
// Examples include React-Three-Fiber, Ink, etc.
src/index.ts
// The primary entry point assumes we are working with React 18, and thus have
// useSyncExternalStore available. We can import that directly from React itself.
// The useSyncExternalStoreWithSelector has to be imported, but we can use the
0 commit comments