react 18.3.0-next-56389e81f-20220619 → 18.3.0-next-167853026-20220626
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/react-jsx-dev-runtime.development.js +4 -1
- package/cjs/react-jsx-runtime.development.js +4 -1
- package/cjs/react.development.js +5 -2
- package/cjs/react.production.min.js +1 -1
- package/package.json +1 -1
- package/umd/react.development.js +5 -2
- package/umd/react.production.min.js +1 -1
- package/umd/react.profiling.min.js +1 -1
@@ -421,7 +421,10 @@ function describeNativeComponentFrame(fn, construct) {
|
|
421
421
|
throw Error();
|
422
422
|
} catch (x) {
|
423
423
|
control = x;
|
424
|
-
}
|
424
|
+
} // TODO(luna): This will currently only throw if the function component
|
425
|
+
// tries to access React/ReactDOM/props. We should probably make this throw
|
426
|
+
// in simple components too
|
427
|
+
|
425
428
|
|
426
429
|
fn();
|
427
430
|
}
|
@@ -421,7 +421,10 @@ function describeNativeComponentFrame(fn, construct) {
|
|
421
421
|
throw Error();
|
422
422
|
} catch (x) {
|
423
423
|
control = x;
|
424
|
-
}
|
424
|
+
} // TODO(luna): This will currently only throw if the function component
|
425
|
+
// tries to access React/ReactDOM/props. We should probably make this throw
|
426
|
+
// in simple components too
|
427
|
+
|
425
428
|
|
426
429
|
fn();
|
427
430
|
}
|
package/cjs/react.development.js
CHANGED
@@ -23,7 +23,7 @@ if (
|
|
23
23
|
) {
|
24
24
|
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
25
25
|
}
|
26
|
-
var ReactVersion = '18.3.0-next-
|
26
|
+
var ReactVersion = '18.3.0-next-167853026-20220626';
|
27
27
|
|
28
28
|
// ATTENTION
|
29
29
|
// When adding new symbols to this file,
|
@@ -1866,7 +1866,10 @@ function describeNativeComponentFrame(fn, construct) {
|
|
1866
1866
|
throw Error();
|
1867
1867
|
} catch (x) {
|
1868
1868
|
control = x;
|
1869
|
-
}
|
1869
|
+
} // TODO(luna): This will currently only throw if the function component
|
1870
|
+
// tries to access React/ReactDOM/props. We should probably make this throw
|
1871
|
+
// in simple components too
|
1872
|
+
|
1870
1873
|
|
1871
1874
|
fn();
|
1872
1875
|
}
|
@@ -23,4 +23,4 @@ for(var m=0;m<f;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:l,type:a.ty
|
|
23
23
|
exports.forwardRef=function(a){return{$$typeof:v,render:a}};exports.isValidElement=O;exports.lazy=function(a){return{$$typeof:y,_payload:{_status:-1,_result:a},_init:T}};exports.memo=function(a,b){return{$$typeof:x,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=V.transition;V.transition={};try{a()}finally{V.transition=b}};exports.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.");};
|
24
24
|
exports.useCallback=function(a,b){return U.current.useCallback(a,b)};exports.useContext=function(a){return U.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return U.current.useDeferredValue(a)};exports.useEffect=function(a,b){return U.current.useEffect(a,b)};exports.useId=function(){return U.current.useId()};exports.useImperativeHandle=function(a,b,e){return U.current.useImperativeHandle(a,b,e)};
|
25
25
|
exports.useInsertionEffect=function(a,b){return U.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return U.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return U.current.useMemo(a,b)};exports.useReducer=function(a,b,e){return U.current.useReducer(a,b,e)};exports.useRef=function(a){return U.current.useRef(a)};exports.useState=function(a){return U.current.useState(a)};exports.useSyncExternalStore=function(a,b,e){return U.current.useSyncExternalStore(a,b,e)};
|
26
|
-
exports.useTransition=function(){return U.current.useTransition()};exports.version="18.3.0-next-
|
26
|
+
exports.useTransition=function(){return U.current.useTransition()};exports.version="18.3.0-next-167853026-20220626";
|
package/package.json
CHANGED
package/umd/react.development.js
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
(global = global || self, factory(global.React = {}));
|
14
14
|
}(this, (function (exports) { 'use strict';
|
15
15
|
|
16
|
-
var ReactVersion = '18.3.0-next-
|
16
|
+
var ReactVersion = '18.3.0-next-167853026-20220626';
|
17
17
|
|
18
18
|
// ATTENTION
|
19
19
|
// When adding new symbols to this file,
|
@@ -1856,7 +1856,10 @@
|
|
1856
1856
|
throw Error();
|
1857
1857
|
} catch (x) {
|
1858
1858
|
control = x;
|
1859
|
-
}
|
1859
|
+
} // TODO(luna): This will currently only throw if the function component
|
1860
|
+
// tries to access React/ReactDOM/props. We should probably make this throw
|
1861
|
+
// in simple components too
|
1862
|
+
|
1860
1863
|
|
1861
1864
|
fn();
|
1862
1865
|
}
|
@@ -27,5 +27,5 @@ a+".");var e=ka({},a.props),d=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.re
|
|
27
27
|
_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:ua,_context:a};return a.Consumer=a};c.createElement=Z;c.createFactory=function(a){var b=Z.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:wa,render:a}};c.isValidElement=M;c.lazy=function(a){return{$$typeof:za,_payload:{_status:-1,_result:a},_init:qa}};c.memo=function(a,b){return{$$typeof:ya,type:a,
|
28
28
|
compare:void 0===b?null:b}};c.startTransition=function(a,b){b=J.transition;J.transition={};try{a()}finally{J.transition=b}};c.unstable_act=function(a){throw Error("act(...) is not supported in production builds of React.");};c.useCallback=function(a,b){return g.current.useCallback(a,b)};c.useContext=function(a){return g.current.useContext(a)};c.useDebugValue=function(a,b){};c.useDeferredValue=function(a){return g.current.useDeferredValue(a)};c.useEffect=function(a,b){return g.current.useEffect(a,
|
29
29
|
b)};c.useId=function(){return g.current.useId()};c.useImperativeHandle=function(a,b,c){return g.current.useImperativeHandle(a,b,c)};c.useInsertionEffect=function(a,b){return g.current.useInsertionEffect(a,b)};c.useLayoutEffect=function(a,b){return g.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return g.current.useMemo(a,b)};c.useReducer=function(a,b,c){return g.current.useReducer(a,b,c)};c.useRef=function(a){return g.current.useRef(a)};c.useState=function(a){return g.current.useState(a)};
|
30
|
-
c.useSyncExternalStore=function(a,b,c){return g.current.useSyncExternalStore(a,b,c)};c.useTransition=function(){return g.current.useTransition()};c.version="18.3.0-next-
|
30
|
+
c.useSyncExternalStore=function(a,b,c){return g.current.useSyncExternalStore(a,b,c)};c.useTransition=function(){return g.current.useTransition()};c.version="18.3.0-next-167853026-20220626"});
|
31
31
|
})();
|
@@ -27,5 +27,5 @@ a+".");var e=ka({},a.props),d=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.re
|
|
27
27
|
_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:ua,_context:a};return a.Consumer=a};c.createElement=Z;c.createFactory=function(a){var b=Z.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:wa,render:a}};c.isValidElement=M;c.lazy=function(a){return{$$typeof:za,_payload:{_status:-1,_result:a},_init:qa}};c.memo=function(a,b){return{$$typeof:ya,type:a,
|
28
28
|
compare:void 0===b?null:b}};c.startTransition=function(a,b){b=J.transition;J.transition={};try{a()}finally{J.transition=b}};c.unstable_act=function(a){throw Error("act(...) is not supported in production builds of React.");};c.useCallback=function(a,b){return g.current.useCallback(a,b)};c.useContext=function(a){return g.current.useContext(a)};c.useDebugValue=function(a,b){};c.useDeferredValue=function(a){return g.current.useDeferredValue(a)};c.useEffect=function(a,b){return g.current.useEffect(a,
|
29
29
|
b)};c.useId=function(){return g.current.useId()};c.useImperativeHandle=function(a,b,c){return g.current.useImperativeHandle(a,b,c)};c.useInsertionEffect=function(a,b){return g.current.useInsertionEffect(a,b)};c.useLayoutEffect=function(a,b){return g.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return g.current.useMemo(a,b)};c.useReducer=function(a,b,c){return g.current.useReducer(a,b,c)};c.useRef=function(a){return g.current.useRef(a)};c.useState=function(a){return g.current.useState(a)};
|
30
|
-
c.useSyncExternalStore=function(a,b,c){return g.current.useSyncExternalStore(a,b,c)};c.useTransition=function(){return g.current.useTransition()};c.version="18.3.0-next-
|
30
|
+
c.useSyncExternalStore=function(a,b,c){return g.current.useSyncExternalStore(a,b,c)};c.useTransition=function(){return g.current.useTransition()};c.version="18.3.0-next-167853026-20220626"});
|
31
31
|
})();
|