Just Two Lines : A Freewrite
Niggas would install and setup redux to handle loading state. Brahthere can be a usecase for this sha….🌚Use case that context cant solve?and if you already use redux ….
I be one of them, I set it a lotThe craze part is that zustand would do exactly the same with less and more understandable code.I use redux for loading stateNa. Nonsense argument be this make everybody rest. Zustand o mobx o, context oo.
Make app dey workthe point is youll still use a state manager no?if you cant read those 10 lines its a you problem definitelyYes but with less boilerplate code.
There are few problems with the code that I can point outIts a lie..better code means less line of code..Mk una evolve...tech is evolving tooThe same way we are bashing people who still write jsWe all know the principles of writing good codeBut we say typescript helps write cleaner code.
Writing 10 lines to do what 2 lines will do is a less quality code