This repository has been archived by the owner on Jan 1, 2025. It is now read-only.
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
You can continue the conversation there. Go to discussion →
So this more of a "how should this be done?" question and may be stupid, but is something which I ran into quite a few times already.
Let's imagine I have this custom hook:
I can think of a few fixes for this, but I like none of them.
useRef
(seems like the most ugly hack):As I said I don't like any of them.
In my opinion the cooles would be if you could do something like this...
Maybe this is even already somehow possible?
The text was updated successfully, but these errors were encountered: