Agent skill

inertia

How to work effectively with Inertia, always use when developing frontend features

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/markhamsquareventures/essentials/tree/main/skills/inertia

SKILL.md

Inertia

Instructions

Inertia + React

  • Use router.visit() or <Link> for navigation instead of traditional links.

import { Link } from '@inertiajs/react'

Inertia + React Forms

import { Form } from '@inertiajs/react'

export default () => (

    {errors.name && <div>{errors.name}</div>}

    <button type="submit" disabled={processing}>
        {processing ? 'Creating...' : 'Create User'}
    </button>

    {wasSuccessful && <div>User created successfully!</div>}
    </>
)}
</Form>

)

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results