I am creating a component (- child) like npm package
(- another project). This component will by use in another component (- parent) (will be installed like npm i child
).
So, my problem is that I want to use redux store architecture in a child. In the parent, there is a too redux store architecture. In a child, I don't want to use own store I want to use the store of the parent component. How can I do this? How can I use the store of parent component in my child?
It is possible? I don't have any idea how to do it.
Thank you for any help.