Hacker News new | ask | show | jobs
by masylum 1552 days ago
Maybe I expressed it incorrectly. When the code is incorrect, it fails in the future. So the user will notice it. This happens when your code relies on some context to work (for instance, if it relies on how the data structure was allocated somewhere up the component hierarchy). When the context changes, then that piece of code starts failing, therefore impacting users.
1 comments

But now it just sounds like you're saying, "When the code changes, the code changes." which feels obvious?

Of course when you change some of the code without changing other parts that rely on the original code, it will break. I'm not sure why that's unique to hooks.