Package Directory SFAS PACKAGE
SFAS React Adapter
@silverfoxcloud/sfas-react-adapterThe React Adapter exposes SFAS through a React-safe provider and disposable controller lifecycle. It supports runtime locale/theme switching while keeping direction driven by shared Core state.
01SFASProvider
02useSFLocale
03useSFTheme
04Disposable controller bridge
01React 18.3+ or React 19.x
02Verified against React 19.3
03Requires SFAS Core and HTML Adapter 0.2.0-alpha.12
INSTALL
Consume from private GitHub Packages
Configure the scoped registry first, then authenticate with an authorized GitHub credential. This portal intentionally publishes no credential or example token.
.npmrc
@silverfoxcloud:registry=https://npm.pkg.github.comnpm
npm install @silverfoxcloud/sfas-react-adapter@0.2.0-alpha.12DEPENDENCIES
Visible dependency boundary
@silverfoxcloud/sfas-core — 0.2.0-alpha.12@silverfoxcloud/sfas-html-adapter — 0.2.0-alpha.12