The downsides of React Hooks (#note)

Today I came across the lengthy article The Ugly Side of React Hooks written by Nir Yosef (Medium shows a reading time of 14min ?), and the title says it all.

I’m not worki…


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

Today I came across the lengthy article The Ugly Side of React Hooks written by Nir Yosef (Medium shows a reading time of 14min ?), and the title says it all.

Paragraph screenshot of "The ugly side of React Hooks": "In this post, I will share my own point of view about React Hooks, and as the title of this post implies, I am not a big fan."

I'm not working on big React projects that involve developers other than myself. But I have to say; I am enjoying React Hooks a lot. Setting up a quick boolean attribute in a functional component using useState is very convenient!

In his article, Nir makes some excellent points about readability, maintainability and predictability when writing large-scale applications based on React Hooks.

In my opinion, his standpoint is a bit too dark, but it's like always – it depends on what you're building. Nevertheless, I recommend giving it a read. Maybe it'll change your position on the Classes vs. Hooks debate; it did for me (a bit).


Reply to Stefan


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis


Print Share Comment Cite Upload Translate Updates
APA

Stefan Judis | Sciencx (2020-09-16T22:00:00+00:00) The downsides of React Hooks (#note). Retrieved from https://www.scien.cx/2020/09/16/the-downsides-of-react-hooks-note/

MLA
" » The downsides of React Hooks (#note)." Stefan Judis | Sciencx - Wednesday September 16, 2020, https://www.scien.cx/2020/09/16/the-downsides-of-react-hooks-note/
HARVARD
Stefan Judis | Sciencx Wednesday September 16, 2020 » The downsides of React Hooks (#note)., viewed ,<https://www.scien.cx/2020/09/16/the-downsides-of-react-hooks-note/>
VANCOUVER
Stefan Judis | Sciencx - » The downsides of React Hooks (#note). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2020/09/16/the-downsides-of-react-hooks-note/
CHICAGO
" » The downsides of React Hooks (#note)." Stefan Judis | Sciencx - Accessed . https://www.scien.cx/2020/09/16/the-downsides-of-react-hooks-note/
IEEE
" » The downsides of React Hooks (#note)." Stefan Judis | Sciencx [Online]. Available: https://www.scien.cx/2020/09/16/the-downsides-of-react-hooks-note/. [Accessed: ]
rf:citation
» The downsides of React Hooks (#note) | Stefan Judis | Sciencx | https://www.scien.cx/2020/09/16/the-downsides-of-react-hooks-note/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.