Need help with designing attendance display and update feature.
Currently have 2 components - one to display attendance and one to update it. Both components have a common parent.
I want to achieve update in display component without refreshing the page i.e. as soon as update component updates database, I want display component to be automatically updated.
Stack:
FrontEnd : React
BackEnd : Express
GraphQL Client
Code is something like this:
<Parent>
<DisplayAttendance />
<UpdateAttendance />
</Parent>
Aucun commentaire:
Enregistrer un commentaire