Back to Clerk

`MultisessionAppSupport` import moved to `/internal`

packages/upgrade/src/versions/core-2/common/multisessionappsupport-import-change.md

latest641 B
Original Source

MultiSessionAppSupport is a component that handles the intermediate “undefined” state for multisession apps by unmounting and remounting the components during the session switch (setActive call) in order to solve theoretical edge-cases that can arise while switching sessions. It is undocumented and intended only for internal use, so it has been moved to an /internal import path. Please note that internal imports are not intended for public use, and are outside the scope of semver.

diff
- import { MultiSessionAppSupport } from '@clerk/clerk-react'
+ import { MultiSessionAppSupport } from '@clerk/clerk-react/internal'