Why We Use React Hooks useState
Ever wonder why we have to wrap every data/state inside our React component with useState? Why don't we just use a simpler approach like making variables with a let keyword, and initiate our state there? Like what we can do in Svelte for example.
Let...
adith.hashnode.dev3 min read