Skip to content

@docsearch/react: Remove dependency on @base-ui/react #3038

Description

@8bittitan

Describe the problem

@base-ui/react adds too much weight. It was short sighted to add just for 2 components, even if it does make a11y easier.

Describe the solution

Will have to explore either smaller alternatives, or just manage it all in package.

Alternatives concidered

We could lazy load the FacetBar and SourcesPanel components, but that only delays the bundle size being loaded and introduces potential lag on a user's interaction.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions