3 ms·
Nice read, thanks for that! However, I would say it doesn’t emphasise issue, from React’s perspective, enough. Languages like C++ or Rust, where pointer/refer
by NaughtyShiba 4y ago
Nice read, thanks for that!
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.
- pronlover723 4y agoI feel like I've been told that many things in rust (and swift) require switching from pointers to indices which seems like suddenly you do miss the fact that something has a pointer