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
In my experience a big issue with redux can be the connection between data otw and the store.
In order to make it as easy as possible to use horizon with redux and react which is a common combination it would be great to have this connection of horizon data and redux store built right into horizon-react.
It seems like react-apollo does that and it could serve as inspiration for this feature.
Discussion about this connection can happen in here!
The text was updated successfully, but these errors were encountered:
I added basic redux features in the "next" branch. A couple of things will change - e.g. the way you pass props to subscribe it's now subscribe({ mapDataToProps: {}, mapStateToProps: ()=>({}) }) and you can pass all of redux's connect() options and they will be passed to redux's connect(). So there's no need to use connect and subscribe.
The next step is to utilize the redux store for storing query data and use it as some kind of cache.
In my experience a big issue with redux can be the connection between data otw and the store.
In order to make it as easy as possible to use horizon with redux and react which is a common combination it would be great to have this connection of horizon data and redux store built right into horizon-react.
It seems like react-apollo does that and it could serve as inspiration for this feature.
Discussion about this connection can happen in here!
The text was updated successfully, but these errors were encountered: