@magicdoor/magic-use-case-react 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ export { e as serializedStateScript } from './index.d-Dyx9E1u0.js';
2
+
3
+ /**
4
+ * Runs a server render in a scope of its own.
5
+ *
6
+ * A browser runs one process per user, so the single shared scope is correct
7
+ * there. A server process serves many users at once, so each request owns its
8
+ * own — sharing one would serve a user another user's data.
9
+ */
10
+ declare function runInRequestScope<T>(render: () => T): T;
11
+
12
+ export { runInRequestScope };