How to work effectively with Inertia, always use when developing frontend features
/plugin marketplace add markhamsquareventures/essentials/plugin install essentials@mksq-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
router.visit() or <Link> for navigation instead of traditional links.import { Link } from '@inertiajs/react'
<Link href="/">Home</Link> </code-snippet>import { Form } from '@inertiajs/react'
export default () => (
<Form action="/users" method="post"> {({ errors, hasErrors, processing, wasSuccessful, recentlySuccessful, clearErrors, resetAndClearErrors, defaults }) => ( <> <input type="text" name="name" /> {errors.name && <div>{errors.name}</div>}
<button type="submit" disabled={processing}>
{processing ? 'Creating...' : 'Create User'}
</button>
{wasSuccessful && <div>User created successfully!</div>}
</>
)}
</Form>
)
</code-snippet>