I've been trying to figure this out for the past few days, but there doesn't seem to be much available in terms of resources on how to do this. Microsoft has an example of a chat app that updates using SignalR and the client side of it communicates with the server side to get updates (https://learn.microsoft.com/en-us/aspnet/core/blazor/tutorials/signalr-blazor?view=aspnetcore-9.0&tabs=visual-studio). I found an example of what I'm looking for using SignalR and SqlTableDependency, but it's using Blazor Server instead of WebAssembly (enter link description here). I've tried using a combination of both of these methods. The app recognizes the changes in the database, but the UI never updates when I do this.
I'm new to using SignalR, so maybe there's something I'm missing here or maybe there's a better approach I'm not seeing that would accomplish the same result. All I'm looking to do is have an app made in Blazor WebAssembly that displays data from a table in a SQL database (this part is done) and the display on the app updates when the records in the database change.