Skip to content

Deprecate Function.prototype.{on,observes,property} #271

@locks

Description

@locks

Ember has been moving away from extending native prototypes due to the confusion that this causes users.
The most recent case of this was part of the Ember.String deprecation RFC, where the package was extracted and prototype extensions moved to a support addon.

To continue on this path, deprecation Function.prototype.{on,observes,property} should be investigated.
They have non-extension equivalents, both in the import Ember from 'ember'; and import { … } from '@ember/…'.

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