Pedro Borges

Results 8 issues of Pedro Borges

I was able to replicate #235 on the `use:inertia` directive like so: ```svelte console.log('click')} on:cancelToken={event => console.log('cancelToken', event.detail.cancelToken)} on:start={event => console.log('start', event.detail.visit)} on:progress={event => console.log('progress', event.detail.progress)} on:finish={() => console.log('finish')} on:cancel={()...

svelte

More than one person tried the Svelte adapter with Vite and ran into this issue: inertiajs/inertia#826 I found the fix and thought it would help to document it. I'm not...

Reopening #1881 originally created by @jamesst20.

svelte

This PR fixes the `` component by checking for children components before attempting to pass the default slot to the rendered component. Closes #1785. ## Before ## After

svelte

Issues with the page component rendering in the Svelte adapter have been reported a couple time (see: #1621, #1733). The last attempt to solve this (#1763) created another issue because...

svelte

The inclusion of `data` in `VisitOptions` can be misleading when using `useForm`. We should update the type definitions to exclude the `data` property in this context to prevent confusion. Closes...

This PR addresses the challenges in the Inertia.js 1.x branch due to outdated dependencies. Previously, running `npm update` could break the build because of conflicts with stricter TypeScript checks. By...

> @inertia('my-custom-id') > And I agree, this should get added to the server-side setup page: https://inertiajs.com/server-side-setup > > Going to open this issue as a reminder to do that 👍...