SSGOI

Frameworks

Find your stack and copy its setup: where the provider goes and how the boundary is keyed.

Choose your rendering framework first, then give the provider a frameworkobject that reads your router and wrap routed content in the package's layout boundary. Boundaries take no SSGOI props and key themselves from config.layouts. Transition factories and route rules are identical everywhere; the provider and boundary wiring differ per stack — Qwik takes a QRL config factory, Angular an ssgoi directive.

Coming from a 7.x router subpath such as @ssgoi/react/nextjs? 8.0 removed them; the migration guide shows the framework object that replaces each one.

  • React@ssgoi/react

    Use SSGOI with React independently of your router. Tell the provider how to read your router’s route through framework, and SsgoiLayoutBoundary connects it to a page lifetime.

  • Svelte@ssgoi/svelte

    The Svelte package provides the common provider, transition API, and layout boundary. Pass a SvelteKit route getter and onNavigate as framework when Kit owns navigation.

  • Vue@ssgoi/vue

    Use the Vue package for the provider, effects, and layout boundary. Pass a reactive getRoute for the router already installed in your app as framework.

  • Solid@ssgoi/solid

    Use the Solid package for common rendering, effects, and the layout boundary. Solid Router and SolidStart pass the same getRoute as framework.

  • Qwik@ssgoi/qwik

    Qwik keeps ownership of projected content and serializes state. Supply transition functions through a QRL factory and attach SSGOI to the layout that owns the routed slot.

  • Angular@ssgoi/angular

    Use the common ssgoi directive above the changing page region and give it an ssgoiFramework that reads Angular Router. The layout boundary directive supplies each page’s boundary.

  • React Native@ssgoi/react-native

    Native rendering and UI-thread playback use the same matching and physics concepts, with native fade/slide presets. This native integration remains experimental.

What every stack shares

Once the boundary is wired, the mental model is the same everywhere.

  • Route rules choose the navigation relationship.
  • Transition factories choose the motion and its variants.
  • Boundaries choose the routed region that owns the motion.

Read next