mirror of
https://github.com/facebook/react.git
synced 2026-02-26 07:55:55 +00:00
Remove Blocks (#20138)
* Remove Blocks * Remove Flight Server Runtime There's no need for this now that the JSResource is part of the bundler protocol. Might need something for Webpack plugin specifically later. * Devtools
This commit is contained in:
committed by
GitHub
parent
3fbd47b862
commit
56e9feead0
@@ -35,7 +35,6 @@ function describeFiber(
|
||||
IndeterminateComponent,
|
||||
SimpleMemoComponent,
|
||||
ForwardRef,
|
||||
Block,
|
||||
ClassComponent,
|
||||
} = workTagMap;
|
||||
|
||||
@@ -70,13 +69,6 @@ function describeFiber(
|
||||
owner,
|
||||
currentDispatcherRef,
|
||||
);
|
||||
case Block:
|
||||
return describeFunctionComponentFrame(
|
||||
workInProgress.type._render,
|
||||
source,
|
||||
owner,
|
||||
currentDispatcherRef,
|
||||
);
|
||||
case ClassComponent:
|
||||
return describeClassComponentFrame(
|
||||
workInProgress.type,
|
||||
|
||||
Reference in New Issue
Block a user