This repository was archived by the owner on Jul 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -856,7 +856,7 @@ impl Fold for ReactRefreshFold {
856
856
// ! insert (hoc)
857
857
// _c = App;
858
858
// _c2 = Foo;
859
- for ( hoc_handle_id , hoc_id ) in hocs {
859
+ for ( hoc_id , hoc_handle_id ) in hocs {
860
860
raw_items. push ( ModuleItem :: Stmt ( Stmt :: Expr ( ExprStmt {
861
861
span : DUMMY_SP ,
862
862
expr : Box :: new ( Expr :: Assign ( AssignExpr {
@@ -1291,30 +1291,30 @@ var _s = $RefreshSig$(), _s2 = $RefreshSig$();
1291
1291
const A = forwardRef(_c = function() {
1292
1292
return <h1 >Foo</h1>;
1293
1293
});
1294
- A = _c2 ;
1294
+ _c2 = A ;
1295
1295
const B = memo(_c4 = React.forwardRef(_c3 = ()=>{
1296
1296
return <h1 >Foo</h1>;
1297
1297
}));
1298
- B = _c5 ;
1298
+ _c5 = B ;
1299
1299
const C = forwardRef(_c8 = memo(_c7 = forwardRef(_c6 = ()=>null
1300
1300
)));
1301
- C = _c9 ;
1301
+ _c9 = C ;
1302
1302
export const D = React.memo(_c11 = React.forwardRef(_c10 = _s((props, ref)=>{
1303
1303
_s();
1304
1304
const [foo, setFoo] = useState(0);
1305
1305
React.useEffect(()=>{
1306
1306
});
1307
1307
return <h1 ref={ref}>{foo}</h1>;
1308
1308
}, "useState{[foo, setFoo](0)}\nuseEffect{}")));
1309
- D = _c12 ;
1309
+ _c12 = D ;
1310
1310
export const E = React.memo(_c14 = React.forwardRef(_c13 = _s2(function(props, ref) {
1311
1311
_s2();
1312
1312
const [foo, setFoo] = useState(0);
1313
1313
React.useEffect(()=>{
1314
1314
});
1315
1315
return <h1 ref={ref}>{foo}</h1>;
1316
1316
}, "useState{[foo, setFoo](0)}\nuseEffect{}")));
1317
- E = _c15 ;
1317
+ _c15 = E ;
1318
1318
function hoc() {
1319
1319
var _s3 = $RefreshSig$();
1320
1320
return _s3(function Inner() {
You can’t perform that action at this time.
0 commit comments