Ember
migration
byCodemod

Ember/5/Fpe Observes

/icons/calendar.svg

Last update

Jan 10, 2025

Before

import EmberObject from "@ember/object";
export default EmberObject.extend({
valueObserver: function () {
// Executes whenever the "value" property changes
}.observes("value"),
});

After

import EmberObject from "@ember/object";
export default EmberObject.extend({
valueObserver: observer("value", function () {
// Executes whenever the "value" property changes
}),
});

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now