Closed ArkadiK94 closed 3 months ago
Just for reference, useState
is included as a baseline to give a comparison point for actual state management libraries. I do think it's definitely the first way any React developer learns to store state, before employing third-party libraries to do it.
@SachaG ok, I understand. In some way, it depends on the way we define "state management" and managing the local state can also be counted so I closed this issue.
Hmm, please correct me if I am wrong but how come useState is considered as State Management Library?
Not only that this is not a library but also this hook can't be considered as a state management tool. Yes, you store the local state of components but you do not really manage it.
https://react.dev/reference/react/useState I tried to search in the docs of useState and there is not mentioned even once the word "manage" / "management".
In my opinion, you should remove this option from this list.