DEPRECATION: You modified (no label) twice in a single render

I keep getting the following deprecation and would like to know how to fix it.

DEPRECATION: You modified (no label) twice in a single render. This was unreliable in Ember 1.x and will be removed in Ember 3.0 [deprecation id: ember-views.render-double-modify]

Have you checked out ember-deprecation-workflow? With that, you can make it throw an error when you hit that deprecation. That error will give you a call stack (or you can add a breakpoint) so you can see which component is likely causing the deprecation to be raised.

Yes I am using it. I didn’t realize that in order to view the call stack I first had to set a breakpoint and then rerun. Thanks for the tip!

1 Like