Skip to content

Add support for Reactivity Transform #1948

Closed
@ota-meshi

Description

@ota-meshi

Lists the work this plugin needs to do to support Reactivity Transform.

Note
These changes will be released after the RFCs have been merged.

  • Related to new compiler macros.
  • Related to the change of defineProps().
    • Change vue/no-setup-props-destructure rule.
      Destructuring assignment immediately after defineProps() is allowed.
      However, Vue2 doesn't allow to use Reactivity Transform, so we may need to split rules.
    • Change vue/require-valid-default-prop rule.
    • Change vue/require-default-prop rule.
    • Change vue/no-boolean-default rule.
      We need to support a new way to specify defaults.

And more?

Additional context

Docs: https://vuejs.org/guide/extras/reactivity-transform.html
PR: vuejs/rfcs#420
Discussion: vuejs/rfcs#369

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions