Skip to content

@react-aria/utils 3.30.0 introduced breaking change #8635

@unional

Description

@unional

Provide a general summary of the issue here

Attempted import error: 'UNSTABLE_useLoadMoreSentinel' is not exported from '@react-aria/utils' (imported as '$jTmF7$UNSTABLE_useLoadMoreSentinel').

UNSTABLE_useLoadMoreSentinel is available in 3.29.0 but removed is 3.30.0.

While it is UNSTABLE, removing it is still a breaking change.

We have a library using react-aria-components. In our lock file we have 3.29.0.
But when our consumer installed, they get 3.30.0 because react-aria-components specifies @react-aria/utils: "^3.29.0".

Thus their build fails.

🤔 Expected Behavior?

No breaking change introduced in minor release.

😯 Current Behavior

breaking build

💁 Possible Solution

Add the function back, even it is unstable.

🔦 Context

No response

🖥️ Steps to Reproduce

n/a

Version

react-aria-components: 1.9.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

MacOS

🧢 Your Company/Team

Palo Alto Networks

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions