An official-style Inertia.js server-side adapter for AdonisJS, enabling modern SPAs with classic server-side routing.
Inertia.js AdonisJS Provider is an official-style server-side adapter that integrates Inertia.js with the AdonisJS framework. It enables developers to build modern single-page applications using React, Vue, or Svelte components while utilizing AdonisJS's server-side routing, controllers, and backend features. This approach blends the interactivity of SPAs with the robustness of a full-stack framework.
Full-stack developers and teams using AdonisJS who want to build modern, interactive single-page applications without switching to a separate API-driven architecture. It's ideal for those familiar with server-side MVC patterns seeking a smooth transition to component-based frontends.
Developers choose this adapter for its seamless integration, feature parity with official Inertia backends, and adherence to AdonisJS conventions. It reduces complexity by eliminating the need for a separate API layer, offers built-in SSR support, and provides tools like lazy loading and shared data out of the box.
This package provides a seamless integration between Inertia.js and the AdonisJS framework. It allows developers to build modern single-page applications using React, Vue, or Svelte while leveraging AdonisJS's server-side routing, controllers, and full-stack capabilities.
The adapter prioritizes developer ergonomics and feature parity with official Inertia backends, ensuring a smooth, convention-based setup that respects the productivity-focused design of both Inertia.js and AdonisJS.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Compatible with all official Inertia client-side adapters including React, Vue 2/3, and Svelte, as stated in the README, ensuring flexibility in frontend framework choice.
Supports configurable server-side rendering with entry points and build directories, enabling isomorphic rendering for improved SEO and performance, detailed in the SSR setup section.
Enables deferred prop loading via Inertia.lazy(), allowing performance optimization by fetching non-critical data on demand, as shown in the controller examples.
Leverages AdonisJS's routing, controllers, and middleware with convention-based setup, providing a smooth full-stack experience without a separate API layer.
Requires separate installation and configuration of @adonisjs/view and @adonisjs/session for projects started with api or slim structures, adding steps to initial setup as noted in the README.
SSR setup involves editing webpack configs and managing multiple entry points, which can be cumbersome and error-prone, especially for developers unfamiliar with build tools.
Tight coupling with AdonisJS makes migration to other backends difficult without significant refactoring, limiting long-term flexibility for teams considering framework changes.