ColdBox Inertia

This is a POC using Jonathan Reinink's InertiaJS framework with ColdBox and ColdBox Elixir on the backend and React on the frontend. Check out Jonathan's intro video to get a better feel of what InertiaJS offers.

Installation

  • box install
  • npm install
  • npm run dev
  • box server start

Usage

Click around the app and notice that no full page refreshes are being made. If you hard reload a page, the same component appears. This isn't server-side rendering the way Nuxt or Next does it, but rather the first request is a traditional server-side request and subsequent requests are transformed by Inertia to new components (React components in this case).