vuejs / rfcs

RFCs for substantial changes / feature additions to Vue core
4.85k stars 549 forks source link

Make `__vccOpts` stable #458

Closed ruojianll closed 1 year ago

ruojianll commented 1 year ago

Summary

__vccOpts is used in vue internal code to access option definations from class constructor, but it's not stable or documented. This is a risk for community class api developers.

Make __vccOpts stable in a offical way.

Links


Important: Do NOT comment on this PR. Please use the discussion thread linked above to provide feedback, as it provides branched discussions that are easier to follow. This also makes the edit history of the PR clearer.