top | item 33239898

(no title)

NaughtyShiba | 3 years 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.

discuss

order

pronlover723|3 years ago

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