variant: `variantModule` export is missing
Hi, thank you for this very promising library!
I’m trying to follow the example and use the handy variantModule function, but it seems like it’s missing?
I’m using the following import statement:
import { variantModule } from 'variant'
The installed library version is 2.0.0.
Thanks 😃
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 34 (19 by maintainers)
You can definitely close, we’re happy users ever since 😃
So this is great. I apparently already implemented this functionality, called it
constant, and have had it as a published export since a week before this issue was originally opened (Oct 20th).So I guess… feel free to use
constant(), lmao. Both are available.It’s a single product divided into multiple packages. We do have some core libs, and I did actually put
unionizein one of the core libs and re-exported it from there. Although I’m still not sure about it, I usually don’t like to abstract 3rd party libs if I don’t have a really good reason.I don’t think it’s such a big deal whether the functions are separate or not. I’ll get some more feedback from the team. I’m sure they will understand tradeoffs.