react-streaming
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -17,5 +17,6 @@ "use strict"; | ||
assertReact(); | ||
const globalConfig = { | ||
const globalConfig = (globalThis.__react_streaming = globalThis | ||
.__react_streaming || { | ||
disable: false | ||
}; | ||
}); | ||
function disable() { | ||
@@ -22,0 +23,0 @@ globalConfig.disable = true; |
@@ -13,5 +13,6 @@ export { renderToStream }; | ||
assertReact(); | ||
const globalConfig = { | ||
const globalConfig = (globalThis.__react_streaming = globalThis | ||
.__react_streaming || { | ||
disable: false | ||
}; | ||
}); | ||
function disable() { | ||
@@ -18,0 +19,0 @@ globalConfig.disable = true; |
{ | ||
"name": "react-streaming", | ||
"description": "React 18 Streaming. Full-fledged & Easy.", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"main": "./dist/cjs/index.js", | ||
@@ -6,0 +6,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59502
1246