Skip to content

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

Open
@leroy

Description

@leroy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions