Results 352 comments of

@abenhamdine awesome, go ahead, that would be very useful.

@hardfist are there any best practices regarding this? If componentWillUnmount doesn't fire, where would you normally free local state?

Great, thanks a lot, i will take a look after a nap. : )

I'd gladly accept PR's. I'm not good in TS and only had some exposure to Flow before.

@d3dc This is pretty cool! Yeah it goes way further than i expected. But makes sense to keep the logic inside the store container. As for middleware, do we need...

@d3dc hard to say, can you make a small example? Btw, do you need more access? I'd be totally open to share authorship if good ideas find their way into...

I think it should disregard other props when a store is given. I mean it could override of course, but that again would mutate the store. Anyway, generally i think...

@Twisterking your original solution seems interesting, ... the old context was stale, meaning the tasks can't update. Is that your intent? I am not familiar with meteor but it looks...

Sure, just wrap it, the decorator is just sugar for decorator(arguments)(Component) So, in that case: moduleContext()(Component) If you use Babel, though, it is IE11 compatible.

Sure thing, would you prepare a small, contained [codesandbox](https://codesandbox.io/)? Using the old context api? We can work on it until you're happy with it.