I'm trying to build a React component library and I want to publish it on npm. However, my component also uses Redux for state management. How can I export the component from the package and also use the react-redux Provider wrapper around the component at the same time. Any suggestions will be helpful.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
Make them into web components =)
github.com/kozakrisz/counter-nativ...
I am having trouble understanding what you are trying to do 🤔
Are you trying to make sure your library be used with "redux" and "react-redux"?