InertiaLink
component to not change the URL path (#556).isDirty
property to the form helper (#660).onCancelToken
callbacks in form helper (#645).InertiaHead
component (#688).transformProps()
and resolveErrors()
(#693).This is a breaking change that requires also updating to inertia@0.9.0.
This release adds a new InertiaHead
component, intended to make working with the document <head>
easier. This is a first-class alternative to libraries like React Helmet. It works both in the browser, and also when server-side rendering (SSR).
To use it, add the InertiaHead
component to your pages:
import { InertiaHead } from '@inertiajs/inertia-react'
<InertiaHead>
<title>Your page title</title>
<meta name="description" content="Your page description" />
</InertiaHead>
See the title & meta page for full documentation.