[Vuejs]-Updating Vuejs list

0👍

You’ll need to look into Websockets if you want the server to able to update the client of when there is new data.

The flow would be: new item added, Websocket from server sends this new item as json to all clients, client adds this item to the javascript list of items, vue auto updates the visible list to reflect this new item.

If websockets are impossible then you’ll need to just run your load command on a short timer so it feels “real-time ish”

Leave a comment