Skip to content

Migration guide: document changes in mounting point #335

Closed
@leopiccionia

Description

@leopiccionia

In Vue 3.0, there's a subtle breaking change in app mounting (see RFC).

In Vue 2.x, app element's outerHTML is replaced (and eventually compiled to a template, if root component has no template/render). Vue 3.x now uses app element's innerHTML, instead.

This change usually is harmless, but code that expects previous behavior may break (e.g. vuejs/core#1642 and vuejs/core#1696).

I couldn't find any mention to this behavior change in migration guide. I'm sorry if this is not the case.

Metadata

Metadata

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