Thread with 1 post
jump to expanded postI was working on some Angular code, and this stupid component would not re-render, and when I looked deeper, it seemed like there was a typo in the OnInit lifecycle method.
And indeed there was, because I had gravy for lunch, and it dropped all over my keyboard so commas and dots were getting stuck together.
Needless to say, it's a good idea to move any gravy logic from your Angular lifecycle methods, and put them into services instead.