DEV Community

Discussion on: All React Hooks and Concepts In A Single Post!! 🤗

Collapse
 
morgboer profile image
Riaan Pietersen

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

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
 
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?

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