Skip to content

React SDK

Shared React App host

0.8.0

App-bound host services and standalone shared-host builds.

React SDK 0.8.0

Required upgrade

  • Approved App UI runs in the shared Core 0.7.0 React host. Previous App-frame bundles are incompatible and must be rebuilt; backend Composer/sandbox selection remains independent.
  • Use nexiaAppConfig(import.meta.url) from @nexia/sdk/vite for standalone App builds. The plugin binds each App's requests to its owning host services, shares supported host peers, bundles App dependencies, and emits nexia-host.json plus styles.
  • Replace removed generic Resource Information schema exports with the existing composed Resource form/detail contracts; resourceFieldValue reads form fields.

Host behavior

  • Host-bound App services preserve request ownership across lazy imports and simultaneously mounted Apps. useReauthenticate delegates authentication navigation and dirty-work confirmation to Core while preserving the owning App return route.
  • Shared JavaScript execution requires approved App source and dependencies; it does not isolate malicious frontend code. Backend authorization and isolation remain required.

Adopt Laravel SDK 0.8.0, Core 0.7.0 and rebuilt App artifacts together. CLI asset serving requires the corresponding alpha.7 release.