Dot notion + Partial reload of page props #1249
godismyjudge95
started this conversation in
Ideas
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was building a feature out the other day and realized it might be handy to be able to trigger an Inertia visit with the "only "option set to a dot notion key.
For example:
The result of this would be that only the "status" key on the "task" prop would be updated.
I have a really basic MVP here:
This currently works, albeit breaks the reactivity of the page props (not an issue if one is using the
usePage()
composable like the docs recommend)Let me know what you think, I'll clean it up and submit a pull request.
Beta Was this translation helpful? Give feedback.
All reactions