TweetSage icon indicating copy to clipboard operation
TweetSage copied to clipboard

convert useStates in a single object state

Open Aadarsh805 opened this issue 3 years ago • 5 comments

Aadarsh805 avatar Dec 15 '22 19:12 Aadarsh805

Wanted to work on this

ManishBisht777 avatar Dec 19 '22 15:12 ManishBisht777

Wanted to work on this

Sure Manish you can work on this, I'd like to convert all those useState that can be used as one state object

Aadarsh805 avatar Dec 19 '22 18:12 Aadarsh805

@Aadarsh805 Like this? image

ManishBisht777 avatar Dec 21 '22 14:12 ManishBisht777

I should have explained this issue in detail, this one actually didn't need this I was referring to those states which can be used as one like the username input and the question input this is more of a code cleanup task, I made it for myself so that others could understand the code faster because there were too many states and all Leave this issue to me, we'll do this later

Aadarsh805 avatar Dec 22 '22 04:12 Aadarsh805

ok @Aadarsh805

ManishBisht777 avatar Dec 22 '22 05:12 ManishBisht777