NaughtyShiba
Joined 5 years ago
Joined 5 years ago
This is what to, the issue boils down, and such incorrect React’s usage should be clear to junior-level developers.
However, I would say it doesn’t emphasise issue, from React’s perspective, enough.
Languages like C++ or Rust, where pointer/reference definitions are required, has an advantage that you won’t miss the fact that something has pointer.
Worthy mention - `additionalProperties` property of `react-hooks/exhaustive-deps` ESLint rule, allows to define hooks which requires referential stability for dependencies. Personally, I’ve yet to use it.
[1] tap and hold on Android, I would assume. Haven’t used one in years
And I know from experience because I had to add one on our site at my previous company, back when it was still beta-invite-only.
It has been especially noticeable this year, since February 24th