Error: useEvents must be used within a EventsContext.Provider #251
tinspham209
started this conversation in
General
Replies: 1 comment
-
I'm afraid there aren't enough details to troubleshoot the issue you are experiencing. Please consider posting a link to your npm package and a minimal demo reproducing the issue. Off the top of my head, I'd suggest verifying that you do not have non-deduplicated npm ls react Also, make sure that your library doesn't bundle |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm build the Lightbox library, and using
yet-another-react-lightbox
to render the image & video.It's works well on storybook
but when build the lib by rollup and publishing to npm, installing to use my lib, it returns an error when previewing the Image.
Can someone help to to resolve it, or help to on the correct rollup config 🥲
this is my code in the lib:
Beta Was this translation helpful? Give feedback.
All reactions