I am writing a super basic application that defines a model for Contact.
Then I create a page name Contact where I show 2 things:
- ContactForm - a Form that allows you to add contact to the database
- ContactsCell - A cell that fetches all contacts from the database and render it on the screen.
At the moment, when I add contacts in the ContactForm, the contact is added to the database but ContactsCell does not update. If I refresh the page, the ContactsCell data is updated.
Is this a known issue, and can someone suggest if there is a work around for this?