Closed askbeka closed 6 years ago
This sounds very specific to webcomponents -- this repo is for small helpers that are generic to PWAs, and not necessarily web components. Passing down context between web components sounds like it might be suited better to a library, not to this repo.
@notwaldorf But, connect-mixin.js, lazy-reducer-enhancer? Ok. This lib can help also build mixins for injecting reducers and sagas into components, making them lazy register in Redux store,
Right, those help elements connect to another’s library, rather than offer an opinion about how elements should communicate with each other, which sounds like what you’ve built (which you didn’t link to, so I can’t tell). What I was trying to explain is that it’s not the job of these helpers to have strong architectural decisions for your application, but rather reduce the boilerplate you have to write in very general cases
I have created a solution for passing down context in DOM, called it [wc-context], no packaging yet, its coming soon. In mean time want to get some feedback. There is a Redux demo with connect mixin implementation example. Thanks.