Packages

@clerk/clerk-expo

2.20.0 · 4 Aug 2026MIT301.2k / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: @clerk/clerk-expo is deprecated. Migrate to @clerk/expo by following the Core 3 upgrade guide https://clerk.com/docs/guides/development/upgrading/upgrade-guides/core-3What to use instead
Your version

2.2.0

20 Aug 2024Where it was published

2.20.4 is the newest release of 2.x.

npm marks 2.2.0 as deprecated: @clerk/clerk-expo is deprecated. Migrate to @clerk/expo by following the Core 3 upgrade guide clerk.com/docs/guides/development/upgrading/upg…

In short

1 new4 internal

Release note

Minor Changes

  • Change the export of useLocalCredentials hook from @clerk/clerk-expo to @clerk/clerk-expo/local-credentials.

    In @clerk/clerk-expo@2.1.0 a new hook called useLocalCredentials was introduced (PR 3663). This hook is optional, but Expo's bundler has problems tree-shaking this codepath so users were still required to install its peer dependencies even if they didn't use that hook.

    For this breaking change, update your import as following:

    - import {  useLocalCredentials } from "@clerk/clerk-expo"
    + import { useLocalCredentials } from "@clerk/clerk-expo/local-credentials"

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.