Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array reactivity #1

Merged
merged 3 commits into from
May 12, 2023
Merged

Array reactivity #1

merged 3 commits into from
May 12, 2023

Conversation

Maxim-Mazurok
Copy link

@Maxim-Mazurok Maxim-Mazurok commented May 11, 2023

Does

[`/v`, version, `/pets`]

instead of

[`/v${unref(version)}/pets`]

to preserve reactivity.

Quite dirty, but seems to work.

@gkweb
Copy link
Owner

gkweb commented May 12, 2023

Thanks @Maxim-Mazurok - I actually had a version very similar to this on my computer - The query key change anyway.
I'll merge but you'll see some changes be made to some of the route as array getter.

@gkweb gkweb merged commit f212569 into gkweb:master May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants