* Tag the fiber with Cloned in persistent mode to signal that * it received an update that requires a clone of the tree above.
(workInProgress: Fiber)
| 203 | * it received an update that requires a clone of the tree above. |
| 204 | */ |
| 205 | function markCloned(workInProgress: Fiber) { |
| 206 | if (supportsPersistence) { |
| 207 | workInProgress.flags |= Cloned; |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | /** |
| 212 | * In persistent mode, return whether this update needs to clone the subtree. |
no outgoing calls
no test coverage detected