ScaleBun
Skip to article

Adapter exports

webDeveloper

Exports and peer ranges for the 5 framework adapter packages.

Updated Reviewed

Adapters add no SDK logic. Each wires two framework seams to the core — route change to trackScreen(), render error to captureError() — and re-exports the singleton so you can import everything from one place.

Packages#

PackagePeer dependenciesExports
@scalebun/web-reactreact@>=1718
@scalebun/web-nextnext@>=14, react@>=1810
@scalebun/web-vuevue@>=311
@scalebun/web-sveltesvelte@>=48
@scalebun/web-angular@angular/core@>=16, @angular/router@>=16, rxjs@>=72

@scalebun/web-react#

ExportKind
ScaleBunProvidervalue
ScaleBunProviderPropstype
ScaleBunConfigtype
__resetScaleBunProviderForTestsvalue
ScaleBunErrorBoundaryvalue
ScaleBunErrorBoundaryPropstype
useRouteNamevalue
useScaleBunvalue
useFlagvalue
useCoachmarksvalue
useScaleBunAnchorvalue
ScaleBunAnchorvalue
InAppProvidervalue
InAppSlotvalue
useInAppvalue
useInAppSlotvalue
InAppProviderPropstype
InAppSlotPropstype

@scalebun/web-next#

ExportKind
ScaleBunProvidervalue
ScaleBunNextProviderPropstype
ScaleBunNavigationvalue
initScaleBunvalue
reportNextErrorvalue
ScaleBunErrorBoundaryvalue
ScaleBunErrorBoundaryPropstype
useCoachmarksvalue
useScaleBunAnchorvalue
ScaleBunAnchorvalue

@scalebun/web-vue#

ExportKind
ScaleBunPluginvalue
SCALEBUN_KEYvalue
ScaleBunConfigtype
useRouteNamevalue
useScaleBunvalue
useCoachmarksvalue
vScaleBunAnchorvalue
INAPP_KEYvalue
createInAppvalue
useInAppvalue
useInAppSlotvalue

@scalebun/web-svelte#

ExportKind
createInAppvalue
inAppSlotvalue
InAppHeadlessvalue
InAppSlotParamstype
setupScaleBunvalue
__resetScaleBunSetupForTestsvalue
ScaleBunSetuptype
SetupScaleBunOptionstype

@scalebun/web-angular#

ExportKind
InAppServicevalue
InAppSlotDirectivevalue

Per-framework setup — where init belongs, which adapters track routes automatically, and which need a router hook — is in Framework adapters.

Adapter exports · API reference · Web SDK · ScaleBun