on-internet
← Community

How to use material table with async pipe and change detection? (Not working properly)

Stack Overflow ·

I've spent about 3 whole days trying to figure this out. Behavior expected: Material Table always renders with most current data from backend. When a new item is added to table from a separate component, a router redirect to the page shows updated data. Actual behavior: Upon first navigation to page, table is empty. Table is rendered, column headers rendered, but no rows populated. Navigating away then back populates the table properly. When adding a new item to the table, a service sends the item to the backend and then makes a call for all items. The service then updates the store (another s

Comments

Sign in or sign up to comment and upvote.

No comments yet.