Ask Your Question
3

What does "ng100: expression has changed after" mean when the last item is used in ngFor?

asked 2023-05-31 06:24:49 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-31 06:52:01 +0000

pufferfish gravatar image

This error message indicates that the expression used in the ngFor loop has been modified after its last item. This can happen if the array being looped through is changed while the loop is still running, causing unexpected behavior or errors. To fix this issue, you can try to avoid modifying the array while the loop is running, or use a different approach to update the array that does not interfere with the ngFor loop.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-31 06:24:49 +0000

Seen: 1 times

Last updated: May 31 '23