-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ssr): forward propsData to recreated component (algolia/vue-inst…
…antsearch#865) * feat(ssr): forward propsData to recreated component TODO: this throws a warning (but works) because of: https://github.com/vuejs/vue/blob/7912f75c5eb09e0aef3e4bfd8a3bb78cad7540d7/src/core/util/options.js#L34-L44 I'm not fully sure how to do `new Vue` or pass this parameter correctly. If I `Object.assign` it for `app = new Vue({...extended, propsData})`, it also doesn't work :/ * fix co-authored-by: Eunjae Lee <eunjae-lee@users.noreply.github.com> Co-authored-by: Eunjae Lee <eunjae-lee@users.noreply.github.com>
- Loading branch information
1 parent
6bb8e08
commit 77d0cc4
Showing
2 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters