In this example it's using history.listen, this doesn't have anything to do with websockets.
In #499 @sorrycc provides a link to a project that supposedly shows an example of subscriptions using websockets but there is nothing about websockets.
Inside subscriptions, there's seems to be no way to access to global store either, this is a requirement for me.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The documentation for subscriptions mentions the use of websockets but doesn't provide any example of this.
My websocket implementation needs access to the global store in order to pass information to the server alongside the connection.
https://github.com/dvajs/dva-knowledgemap/blob/master/README_en.md#subscription
In this example it's using
history.listen
, this doesn't have anything to do with websockets.In #499 @sorrycc provides a link to a project that supposedly shows an example of subscriptions using websockets but there is nothing about websockets.
Inside subscriptions, there's seems to be no way to access to global store either, this is a requirement for me.