Fragments

The idea behind fragments is to allow some simple standards and utilities in order to create within your project custom routes and async behaviours.

Under the hood an endpoint /_/fragments/_replace/ is exposed by Laravel Frontend, the @acanto/core-fragments/replace utility will send a request to retrieve a view asynchronously. The view can be a component, a util, a core element, another fragment or even a route template.

You can see some sample usages in the Async behaviours guide