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

Vuex stuck on loading state when VNodes committed from a slot #1186

Open
leroy opened this issue Apr 12, 2020 · 2 comments
Open

Vuex stuck on loading state when VNodes committed from a slot #1186

leroy opened this issue Apr 12, 2020 · 2 comments

Comments

@leroy
Copy link

leroy commented Apr 12, 2020

Version

5.3.3

Browser and OS info

Chrome 80 / Firefox Developer Edition 70

Steps to reproduce

  • Commit an instance of a vnode from a slot to the state.
  • Go to vue devtools
  • Switch to the Vuex tab
  • Click on 'Load state'

I have created a reproduction repository here:

https://github.com/leroy/reproduce-vuex-devtools-bug

What is expected?

I expect to see the current state of my Vuex store.

What is actually happening?

The state won't load and this error pops up:

Uncaught TypeError: window[type] is not a constructor.


It only seems to happen when i add a vnode that is retrieved through the $slot.

@thanks173
Copy link

Can confirm, I have the same problem.
I'm working on a PR.

@SimonChaumet
Copy link

Is there any workaround ? Or a way to display easily in the dom ?

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

No branches or pull requests

3 participants