DEV Community

Cover image for All React Hooks and Concepts In A Single Post!! 🤗

All React Hooks and Concepts In A Single Post!! 🤗

Ritesh Kumar on April 02, 2022

First of all React is a JS Library not a Complete Framework 🙂 so for making a complete web application you need to know a lot of other things 🤭 tha...
Collapse
 
spock123 profile image
Lars Rye Jeppesen

My God this really shows how horrible React has become. It's a mess compared to modern frameworks. Great article though, thanks.

Collapse
 
morgboer profile image
Riaan Pietersen

Could you link us to some of the mentioned "modern frameworks", please?

Collapse
 
spock123 profile image
Lars Rye Jeppesen

One example could be frameworks that are actually written in Typescript.
Frameworks that utilize observables and not promise-based logic.
Frameworks that don't require a "root component" in components, they can actually handle templates without a root component that doesn't do anything.
Frameworks that embrace standard HTML, not forcing absurd syntax like "className" just to set at class.

Just the clutter of having to use horrible syntax for useEffect() to have something running at the start of a component, is absolutely nuts.

These are just a few examples.

Thread Thread
 
morgboer profile image
Riaan Pietersen

Sounds great! Would you mind posting a URL to one or two of these?

Collapse
 
nyctonio profile image
Ritesh Kumar

Lol actually there are a lot of advantages of React which make it 100% worth the disadvantages

Thread Thread
 
morgboer profile image
Riaan Pietersen

Agree Ritesh. Lars is just flaming.. there are definitely use cases for running code at the start of a component. I was honestly hoping he would post a URL to these phantom "frameworks" he refers to.. 🤷‍♂️

Thread Thread
 
spock123 profile image
Lars Rye Jeppesen

Flaming? that was not my intention. Of course there's use for running code at the start of a component.

Collapse
 
karranx profile image
karranx

Great post 😊

Collapse
 
nyctonio profile image
Ritesh Kumar

Thank you karranx

Collapse
 
minhazhalim profile image
Minhaz Halim (Zim)

Great tutorial

Collapse
 
beedev profile image
Mike

Great Article

Some comments have been hidden by the post's author - find out more