You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On page 36 (book page not pdf page) i follow the instructions to change bands.js and include tracked property of name however upon returning to the browser i am still getting the following exception:
index.js:172 Uncaught Error: Assertion Failed: You attempted to update [object Object].name to "Test", but it is being tracked by a tracking context, such as a template, computed property, or observer. In order to make sure the context updates properly, you must invalidate the property when updating it. You can mark the property as @tracked, or use @ember/object#set to do this.
at assert (index.js:172)
at Object.set [as name] (index.js:869)
at :1:12
the command i am using is:
$E[1].name = "Test";
I reread many times and even restarted the server but have not been able to observe the change in name on the rendered page as stated.
Nef
The text was updated successfully, but these errors were encountered:
In the latest stable version, 3.20, this should still work. The difference is that 3.20 has become more lax about throwing the above error. You should now:
Not get the above error before marking the property as tracked but the template shouldn't update.
After marking it as tracked, the template should update correctly.
The content of the bands.js route should be the following:
On page 36 (book page not pdf page) i follow the instructions to change bands.js and include tracked property of name however upon returning to the browser i am still getting the following exception:
the command i am using is:
$E[1].name = "Test";
I reread many times and even restarted the server but have not been able to observe the change in name on the rendered page as stated.
Nef
The text was updated successfully, but these errors were encountered: