I'm working with TreeView using nodeTemplate function to indicate a customComponent, this custom component has more compoments that are connnected to redux store.
The customComponent works with no problem in others view/screens but when a try to use it in the TreeView with nodeTemplate, this fails, For example if a click Edit option that the edit component user redux appears the following error:
Uncaught Invariant Violation: Could not find "store" in the context of "Connect(CardInfoEditor)". Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to Connect(CardInfoEditor) in connect options.
Do you have an example with redux for treeView or any advice?
Note: The Redux store, is using in a internal component from the customComponet used with nodeTemplate.
If we have misunderstood your requirement, please get back to us with complete code along with additional details on the difficulties you are facing while rendering TreeView using React Redux. This will be helpful for us to serve you better.