vue projects need to display a lot of information on a single page, and there are several lists of real-time data.
dismantle the module because the page is complex.
but the websocket is maintained separately, and I don"t know how to pass it to the split component after getting the data.
the current practice is to use store to store the list, and websocket gets the data to update the store, list to directly render the data of store.
but the resulting data needs to be processed by Filter, and can only be sorted out in the onmessage of websocket before it is stored in store, because I can"t listen for updates to the internal data of store in the component where the list belongs.
the result is that onmessage has become more and more bloated, which is not conducive to extended maintenance.
is there any way to solve this problem?