File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -766,8 +766,10 @@ function createElement(
766766 createBlockedChunk ( response ) ;
767767 handler . value = element ;
768768 handler . chunk = blockedChunk ;
769- const freeze = Object . freeze . bind ( Object , element . props ) ;
770- blockedChunk . then ( freeze , freeze ) ;
769+ if ( __DEV__ ) {
770+ const freeze = Object . freeze . bind ( Object , element . props ) ;
771+ blockedChunk . then ( freeze , freeze ) ;
772+ }
771773 return createLazyChunkWrapper ( blockedChunk ) ;
772774 }
773775 } else if ( __DEV__ ) {
@@ -1081,7 +1083,6 @@ function parseModelString(
10811083 // A very common symbol.
10821084 if (
10831085 initializingHandler !== null &&
1084- isArray ( parentObject ) &&
10851086 key === '0'
10861087 ) {
10871088 // We we already have an initializing handler and we're abound to enter
Original file line number Diff line number Diff line change @@ -4129,7 +4129,7 @@ function beginWork(
41294129 }
41304130 case Throw : {
41314131 // This represents a Component that threw in the reconciliation phase.
4132- // So we'll rethrow here. This might be
4132+ // So we'll rethrow here. This might be a Thenable.
41334133 throw workInProgress . pendingProps ;
41344134 }
41354135 }
You can’t perform that action at this time.
0 commit comments