-
-
Notifications
You must be signed in to change notification settings - Fork 405
Closed
Description
As we move into a world where we can access properties via POJO getters, incrementProperty and decrementProperty stick out on EmberObject as relics of time when a lot of convenience methods were provided for you. Outside of special case scenarios, these methods could be replaced as such:
this.counter += 1;
this.counter -= 1;Therefore, to reduce magic and surprise, I'd like to recommend the deprecation of these methods.
An alternative approach is simply to do nothing given that #337 indicates that EmberObject, itself, will be deprecated at some future date. Thus any work done in trimming it down may be considered wasted effort.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels