Another feature just landed in Inertia Modal! I added a useModal() method, similar to Inertia's usePage().
Instead of passing props to (nested) components from within your modal, useModal() gives you the props, config, state, and helper methods for the parent modal 🔥
Back