Closed sasial-dev closed 2 years ago
The syntax means you can also do
useHistory({ useContext })
If you are manually importing hooks instead of them all being provided!
The typings account for this, and only require the used hooks.
I was 50/50 split in creating a new .d.ts file (hooks.d.ts
) vs combining it all in index.d.ts
. Let me know if you'd want me to recombine the files.
LGTM - thank you so much! I'll publish this right away.
Removes the dependency on
@rbxts/roact-hooks
, allowing for an alternate implementation to be used.