I have created a Lightning Web Component that displays records in a data table. It also contains a child custom modal component which the user can use to create a new record.
I have the save working in the modal, but I'm not sure how to get the data table in the parent component to update (and show the new record).
I was first of all thinking that I would create an event in the child component, passing up the newly created record to the parent, where it would simply be added to the list.
However, that list gets its data via a @wired service, so I was wondering if there is a way to simply trigger this @wired to refresh the data from the server?