github toss/overlay-kit overlay-kit@1.8.3

latest releases: overlay-kit@1.9.0, overlay-kit@1.8.6, overlay-kit@1.8.5...
10 months ago

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.

Don't miss a new overlay-kit release

NewReleases is sending notifications on new releases.