-
Notifications
You must be signed in to change notification settings - Fork 21
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
Feat: Migrate query suggestions
module to composition api
#1497
Feat: Migrate query suggestions
module to composition api
#1497
Conversation
…le-to-composition-api # Conflicts: # packages/_vue3-migration-test/src/router.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some minor suggestions, but great job!
...s/_vue3-migration-test/src/x-modules/query-suggestions/components/test-query-suggestions.vue
Outdated
Show resolved
Hide resolved
packages/x-components/src/x-modules/query-suggestions/components/query-suggestion.vue
Outdated
Show resolved
Hide resolved
packages/x-components/src/x-modules/query-suggestions/components/query-suggestions.vue
Outdated
Show resolved
Hide resolved
…le-to-composition-api # Conflicts: # packages/_vue3-migration-test/src/router.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…le-to-composition-api # Conflicts: # packages/_vue3-migration-test/src/router.ts
@@ -16,7 +16,7 @@ | |||
"@vueuse/core": "~10.7.1", | |||
"vue": "^3.4.22", | |||
"vue-router": "^4.3.0", | |||
"vuex": "^4.1.0" | |||
"vuex": "4.0.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reactivity of vuex getters is broken in 4.1.0
when registering store modules dynamically. vuejs/vuex#2217
vuejs/vuex#2197
It caused emitters didn't work when the trigger is a getter and not the state (request
getter of QuerySuggestions x-module).
Downgraded to 4.0.2
Pull request template
Describe the purpose of the change, the specific changes done in detail, and the issue you have fixed.
Motivation and context
Type of change
What is the destination branch of this PR?
Main
How has this been tested?
Tests performed according to testing guidelines:
Checklist: