You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mosaic now renders a flattened version of the provided tree. This means that layout changes no longer force components to unmount and remount. Component state will be preserved and time will not be wasted re-rendering.
Breaking Changes
DOM structure is very different - highly likely to cause problems with custom styles
Rendered structure is now flat
.mosaic-root class renamed to .mosaic
T now must extend MosaicKey (string or number) so that they can be used as a React.Key
getMosaicPath has been moved to MosaicWindowActions as getPath
TileRenderer is now also passed the current path MosaicBranch[]
MosaicWindow now requires the path: MosaicBranch[] prop