reading-notes


Project maintained by Razan-am Hosted on GitHub Pages — Theme by mattgraham

useState() Hook

How does React differ from vanilla JS/HTML/CSS?

What is the primary difference between a function component and a class component?


Terms


making sense of hooks

What Are Hooks, Exactly?

Why Hooks?

We think Hooks are our best shot at solving all of these problems. Hooks let us organize the logic inside a component into reusable isolated units.


References:

@By Afraz Momin/React v/s Vanilla JS - When to use what?

@By Deepak Agarwal/Differences between Functional Components and Class Components in React

@By Dan Abramov/Making Sense of React Hooks