Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

v1.5.4 breaks metaInfo reactivity #269

@kchung

Description

@kchung

#261 and #262 introduced a breaking feature to the reactivity of metaInfo

For example, this component incrementally updates the title prop:

<script>
export default {
  name: 'app',
  metaInfo() {
    return {
      title: this.title,
    };
  },
  data() {
    return {
      increment: 0,
      title: 'test',
    };
  },
  mounted() {
    setInterval(() => {
      // The title will *not* reactively update with 1.5.4
      this.title = `title-${this.increment++}`;
    }, 500);
  },
}
</script>

In v1.5.4 it doesn't react to any of the changes like v1.5.3 does.

v1.5.3

1 5 3

v1.5.4 (this is a gif)

1 5 4

I created a test project to demonstrate the issue:

You can test by running npm run serve after running npm install

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