| 382 | |
| 383 | if (shouldEnqueueToPool && _viewFactory != nullptr) { |
| 384 | viewTransactionScope.transaction().willEnqueueViewToPool( |
| 385 | _view, [viewFactory = _viewFactory](View& view) { |
| 386 | viewFactory->enqueueViewToPool(strongSmallRef(&view)); |
| 387 | }); |
| 388 | } |
| 389 | } |
| 390 | |
| 391 | _view = view; |
| 392 | |
| 393 | if (_scrollState != nullptr) { |
| 394 | _scrollState->setNeedsSyncWithView(true); |
| 395 | } |