Answer the question
In order to leave comments, you need to log in
Why is this error thrown from core js?
There is such an error:
In general, there is a directory, there are three posts in it, when you click on the post, it opens, I transfer the object to it. In the console, you can see that I received the object and displayed the title of the object. As you can see, it is displayed, but at the same time, core js swears. The first time I encountered this error. Can someone tell me how to get rid of it? And why did she show up?
Answer the question
In order to leave comments, you need to log in
Most likely in the template you are accessing the name field of an object that has not yet loaded.
Hide the entire block under *ngIf
or put questions in the template, such as{{obj?.name}}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question