Derive and Conquer: How to get rid of useless useState
I have seen this anti-pattern being used in so many React code bases
We have some values and we need to process them somehow to show a derived value.
In a lot of codebases you would see people do this:
const [fullName, setFullName] = useState("");
u...
danyal.hashnode.dev2 min read