File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3193,8 +3193,9 @@ function beginWork(
3193
3193
}
3194
3194
invariant (
3195
3195
false ,
3196
- 'Unknown unit of work tag. This error is likely caused by a bug in ' +
3196
+ 'Unknown unit of work tag (%s) . This error is likely caused by a bug in ' +
3197
3197
'React. Please file an issue.' ,
3198
+ workInProgress . tag ,
3198
3199
) ;
3199
3200
}
3200
3201
Original file line number Diff line number Diff line change @@ -1285,8 +1285,9 @@ function completeWork(
1285
1285
default :
1286
1286
invariant (
1287
1287
false ,
1288
- 'Unknown unit of work tag. This error is likely caused by a bug in ' +
1288
+ 'Unknown unit of work tag (%s) . This error is likely caused by a bug in ' +
1289
1289
'React. Please file an issue.' ,
1290
+ workInProgress . tag ,
1290
1291
) ;
1291
1292
}
1292
1293
Original file line number Diff line number Diff line change 155
155
"153" : " Resuming work not yet implemented." ,
156
156
"154" : " We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue." ,
157
157
"155" : " An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue." ,
158
- "156" : " Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue." ,
158
+ "156" : " Unknown unit of work tag (%s) . This error is likely caused by a bug in React. Please file an issue." ,
159
159
"157" : " Invalid type of work. This error is likely caused by a bug in React. Please file an issue." ,
160
160
"158" : " There must be pending props for an initial mount. This error is likely caused by a bug in React. Please file an issue." ,
161
161
"159" : " There should always be pending or memoized props. This error is likely caused by a bug in React. Please file an issue." ,
You can’t perform that action at this time.
0 commit comments