As you make changes to the database with POST and PATCH requests, use a callback function to update STATE to ensure your data is up to date.
0 subscriptions will be displayed on your profile (edit)
Skip for now
For your security, we need to re-authenticate you.
Click the link we sent to , or click here to sign in.
Using STATE to ensure the DOM and Database…
As you make changes to the database with POST and PATCH requests, use a callback function to update STATE to ensure your data is up to date.
Create your profile
Only paid subscribers can comment on this post
Check your email
For your security, we need to re-authenticate you.
Click the link we sent to , or click here to sign in.