You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.
Awesome work here! Render props work, but I really want to use hooks asap.
I'm trying to use this with Parcel, with this code:
But I ran into an error:
I guess it's because Parcel doesn't transpile third-party packages.
Reproducible Bug
I made a reproducible repo here.
Workaround
I'm not sure how to fix this through rollup (haha sorry!), but I'm trying to find out how. For the mean time, hope someone may find this useful.
I'm directly importing the ts file like so:
Since I don't know how to make Parcel's package alias work, I re-exported it through another file.
Hope this helps out someone for the mean time.
The text was updated successfully, but these errors were encountered: