Releases: petyosi/react-virtuoso
Releases · petyosi/react-virtuoso
[email protected]
[email protected]
Patch Changes
-
#1388
5871779Thanks @petyosi! - Fix useSyncExternalStore detection for React 19+The version check used
startsWith('18')which excluded React 19, causing it to fall back to the legacy useState+useLayoutEffect subscription path. This could cause tearing issues in concurrent rendering scenarios. Changed toparseInt(React.version) >= 18to correctly use useSyncExternalStore for React 18 and above.
[email protected]
Patch Changes
- #1375
620b260Thanks @marcospassos! - FixatBottomStateChangeinuseWindowScrolllists when the Virtuoso instance is rendered below other page content.
@virtuoso.dev/[email protected]
Patch Changes
- Updated dependencies [
5b57a93]:- @virtuoso.dev/[email protected]
@virtuoso.dev/[email protected]
Patch Changes
-
#1369
5b57a93Thanks @petyosi! - Reduce per-publish CPU cost and fix memory leaks in the reactive engine- Cache
combineCells()by source set to prevent orphaned graph nodes on repeated calls - Clean up
subMultiple()synthetic nodes on unsubscribe - Fast-path
pub()to skip object allocation for single-node publishes - Replace full state map clone with dirty-state overlay in
pubIn - Pre-compute source+pull node arrays on projections to avoid per-node array allocations
- Merge double
Object.getOwnPropertySymbolsiteration inpubIninto a single loop - Replace
indexOf/splicewith skip-set innodeWillNotEmitpropagation - Lift
inContextto wrap entirepubInpropagation loop - Skip empty
RealmProviderpublishes when noupdateWithis provided - Memoize
getSnapshotinuseCellValueWithStorefor stableuseSyncExternalStoreidentity
- Cache
[email protected]
@virtuoso.dev/[email protected]
Patch Changes
-
161db63Thanks @petyosi! - Use changeset publish for proper git tagging and GitHub release creation -
Updated dependencies [
161db63]:- @virtuoso.dev/[email protected]
@virtuoso.dev/[email protected]
[email protected]
Minor Changes
- 58b9703: Add
minOverscanItemCountprop to ensure a minimum number of items are rendered before/after the viewport, useful for tall or collapsible items where pixel-based overscan is insufficient.
[email protected]
Patch Changes
- 497681b: provenance test