intl of component in a package or library #3759
heimiguoguo
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I can use 'FormattedMessage' in the component of my project directly. But, I create a component library and extract the component as a public component to the component library, then I import the component from the component library, but the public component can not fetch the intl context and throw a error as below, it make very confused! Looking forward to your help, thank you very much!

Beta Was this translation helpful? Give feedback.
All reactions