Skip to content

Console Warning: Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with markRaw or using shallowRef instead of ref.  #17256

@richard-cox

Description

@richard-cox

Setup

  • Rancher version: v2.15 dev of

Describe the bug

  • home page console warning, appears at least twice per visit
my-logger.ts:26 [Vue warn]: Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`. 
Component that was made reactive:  {name: 'AsyncComponentWrapper', __asyncLoader: ƒ, __asyncHydrate: ƒ, setup: ƒ} 
  at <Header key=0 simple=true > 
  at <Home onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > 
  at <RouterView> 
  at <App>

To Reproduce

  • open dev tools
  • nav to home page

Expected Result

  • no console warning

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions