You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have already done something similar - also started with mixin, than refactored it to higher-order component..
But, shortly after, I realised that it is not suitable server side rendering(doing isomorphic app) - since I need somehow to wait for data before rendering... Also this is a bit uncomfortable on client-side - since all data passed as observable should be considered optional or should have default value.
Than I tried to make observable react elements, and later switched to observable components.
It is almost beautiful:
it is isomorphic out of the box
observable components are compossible (just as any observables)
Hey, nice library!
I think it would be awesome if RR provided some higher-order components to separate pure components from stateful components (ones with subscribe).
RRSubscribe
Another higher-order component to enable a way to observe data would be great too, but I can't think how to implement it right now.
The text was updated successfully, but these errors were encountered: