venturecommunism
venturecommunism
I think what you want to do is currying of react containers (higher order components) and passing down the connection as a prop with a subscribe method (rx observable) (for...
This is basically what I was talking about: https://github.com/venturecommunism/stack/blob/6ab35c5f8d9bd16032dd81b7ababa96df73b1fe9/client/src/configs/context.js and then we can transact inside commands like: https://github.com/venturecommunism/stack/blob/6ab35c5f8d9bd16032dd81b7ababa96df73b1fe9/client/src/modules/cartscape/commands/togglefullscreen.js pure javascript / react