I fixed an issue with React hooks
Thanks! It’s in giving that you receive
reply
Good work mate!
reply
0 sats \ 0 replies \ @sn 6 Apr
🫡
reply
Welcome to the sat party! Thanks for your contribution!
reply
IIRC there is an eslint rule you can configure for this sort of thing. I wonder if the same can be configured with standard.
I believe the target is that react hooks can’t be conditional called, like within an if else, or after a conditional return, like it was here
reply
Fantastic! Welcome to the club
reply
Excellent! Keep up the good work gooin on. Thanks mate.
reply
Proud of you freak!
Keep up the great work, and take these satoshi’s.
reply
Excellent
reply