diff --git a/packages/react/src/reconciler/hostconfig.js b/packages/react/src/reconciler/hostconfig.js index df821cfe..2ab063d2 100644 --- a/packages/react/src/reconciler/hostconfig.js +++ b/packages/react/src/reconciler/hostconfig.js @@ -113,6 +113,8 @@ function insertBefore(parent, child, beforeChild) const index = parent.getChildIndex(beforeChild); parent.addChildAt(child, index); + + parent.__reactpixi?.root?.emit(`__REACT_PIXI_REQUEST_RENDER__`, { detail: 'insertBefore' }); } // get diff between 2 objects