react-waterfall icon indicating copy to clipboard operation
react-waterfall copied to clipboard

Multiple Contexts supported?

Open mstronge opened this issue 6 years ago • 3 comments

Hi,

Wondering if someone could provide a little help - I'm currently working on a project that asynchronously loads in a chunk of code as a small 'UI microservice' - I'm having problems with react-waterfall in that the first instance works perfectly fine however if I load the chunk again im seeing that the first instance of react-waterfall no longer seems to work, and is actually triggering actions against the second instance.

I guess my question is - are multiple contexts utilising different redux instances supported with this library?

Thanks Matt

mstronge avatar Feb 20 '19 19:02 mstronge

Having the same issue in react native with react-native-navigation Each screen uses a new context

hhunaid avatar Feb 23 '19 07:02 hhunaid

@hhunaid Do you still have the problem? Can you post a codepen? Maybe a duplicate of #97.

domialex avatar Aug 04 '19 17:08 domialex

react-easy-contexts, A simple tool to add multiple React contexts easily.

https://github.com/nanxiaobei/react-easy-contexts

nanxiaobei avatar Jun 07 '21 08:06 nanxiaobei