Skip to content

@clerk/clerk-js no longer has a headless export #9417

Description

@spaceemotion

Preliminary Checks

Reproduction

n/a

Publishable key

n/a

Description

I just wanted to update our Clerk JS installation from version 5.125.9 to 6.28.1 and it seems like the headless export has disappeared? I also noticed that the new Clerk SDK has a lot of, to us, useless imports and weight we do not need:

  1. Billing + Checkouts + Stripe
  2. UI (un)mounting
  3. Waitlist handling

I am missing a true "core" or "headless" export like the one before. We do not use react, we only use Clerk for keeping the API keys and JWTs alive - that's it. Shipping the current @clerk/clerk-js version would be too much useless code for the client.

Environment

System:
    OS: Linux 6.18 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (12) x64 AMD Ryzen 9 7950X 16-Core Processor
    Memory: 14.82 GB / 23.47 GB
    Container: Yes
    Shell: 3.6.1 - /usr/bin/fish
  Binaries:
    Node: 24.15.0 - /mnt/wslg/runtime-dir/fnm_multishells/504944_1786549411768/bin/node
    npm: 11.12.1 - /mnt/wslg/runtime-dir/fnm_multishells/504944_1786549411768/bin/npm
    pnpm: 11.10.0 - /mnt/wslg/runtime-dir/fnm_multishells/504944_1786549411768/bin/pnpm
  npmPackages:
    @clerk/clerk-js: catalog: => 6.28.1
    @clerk/shared: catalog: => 4.28.1
    typescript: catalog: => 7.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageA ticket that needs to be triaged by a team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions