v3.8.0 (February 1, 2023)
Support streaming in an existing layer (#608)
- Support streaming in depth:0. Allowing children to be updated continuously without clearing the store instance entirely.
- Fix a bug in store.destroy() where in some cases migration=null causes an error when it's called.
- Fix a bug in the branch level where the parent container belongs to the same higher parent but is not registered as siblings in DOMGen.
- Depend on the observer to auto-clean removed elements from the store instead of using unregister.
- Override containersTransition & commit for unnecessary usage (#609)
- Override
containersTransition
options for an orphan branch. - Override
commit
options for an orphan branch with a solo element to prevent unnecessary reconciliation.
- Override
- Add prefix to generated keys in DOM-gen (#610) to avoid potential conflict with user-ids and DFlex auto-generated keys.
Refresh element indicators after reconciling across multiple containers (#600)
- Add global configuration to set general transformation behavior.
React.useEffect(() => {
store.config({
removeContainerWhenEmpty: false,
});
}, []);
- Preserve container width when empty to prevent an uncalculated shift in elements' position.
- Refresh all elements' indicators and re-calculate Rect when reconciling across multiple containers.
Support resizing window for transformed/non-transformed containers alike (#603)
- Resizing window will automatically:
- Trigger reconciliation for transformed containers.
- Non-transformed containers will update DOMRect.
- Observers are added to the higher registered container depth instead of each parent container.
Prevent drag from updating its transformation position if it's going to reconcile (#606)
Add delay to detect nearest container iteration (#601)
Support migration into an empty container (#602)
Full Changelog: v3.7.1...v3.8.0