inertiajs / inertia

Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
https://inertiajs.com
MIT License
6.02k stars 405 forks source link

Pass the full page object to resolve component #1864

Open james-em opened 2 months ago

james-em commented 2 months ago

See discussion #1863

james-em commented 2 months ago

May I pull your attention here? :) @reinink

I believe it's a really quick QA without any kind of side effect and I did it for all adapters and typescript types

reinink commented 2 months ago

Yup, I think this makes sense! Will test this out and let you know.

james-em commented 2 months ago

Yup, I think this makes sense! Will test this out and let you know.

Yup, I think this makes sense! Will test this out and let you know.

If you merge Svelte Typescript support, I will update this PR very quickly to include new Svelte types.

I can tell this works well for Svelte, been using this branch for 2 weeks about everyday