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 1.0.0-rc.2
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@1.0.0-rc.2DEPENDENCIES
Visible dependency boundary
@silverfoxcloud/sfas-core — 1.0.0-rc.2@silverfoxcloud/sfas-html-adapter — 1.0.0-rc.2