Skip to content

overlay-kit@1.8.3

Choose a tag to compare

@github-actions github-actions released this 04 Jul 05:52
· 38 commits to main since this release
cc91ab2

Patch Changes

  • #185 f261784 Thanks @jungpaeng! - fix: prevent unnecessary re-renders of existing overlays with memo

    Prevent unnecessary re-renders of existing overlays when new overlays are opened, improving performance.

    Key Changes

    • Added React.memo: Applied memo to overlay controller component to prevent re-renders when props haven't changed
    • Integrated state management: Streamlined state management by integrating it directly into the component and removing redundant prop passing

    Performance Improvements

    • Eliminated unnecessary re-renders of existing overlays when adding new overlays in multi-overlay scenarios
    • Provides more predictable and maintainable state management flow
    • Maintained existing API compatibility while optimizing internal performance

    This change maintains backward compatibility and provides performance improvements without requiring any code changes from users.

  • #183 579abaf Thanks @jungpaeng! - test: fix duplicate overlayId error message expectation

    Updated test case to match the actual implementation where duplicate overlayId error messages now include the specific overlayId value for better debugging experience.