Open
Description
Hey guys!
I was wondering if there are any plans to do a similar rule to react/no-access-state-in-setstate but for useState?
I feel that there is still a lot of benefit of doing that to prevent previous state bugs and having react-hooks rules suggesting to put previous state on dependencies array (for useEffect, for instance).
Thank you for your time :)