Re:Web workers are not the answer
by pronlover723 on Monday October 17, 2022 @08:45PM
(#33241605)
I 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
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.