Bundle Shared Vendor, Cross-Block Selection, Floating-UI Coordinates
webpack splitChunks traps, cross-block range operations in a hybrid editor, selectionchange·scroll anchor patterns, Context subscription separation
- Using chunks:all with a fixed name on a catch-all vendor pulls dynamic imports up into a shared chunk.
- For cross-block text operations, stateless derivation from getSelection + a single boundary split is safer than range state.