We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Ok so sometimes you need typescript for your hooks.
And then basically you need to type every single method in the hook.
You have to do bindings in mounted so that you could use the functions in callbacks and so fortt.
It becomes really tiring and verbose really quickly.
Solution?
continue reading on dev.to
⚠️ This post links to an external website. ⚠️
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.