-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useResource updates when updateResource is called #4698
Comments
Proposed solution:
Then the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
consider this snippet
After the
updateResource
is performed, theMedplumClient
receives the response with the newPatient
, but theuseResource
hook does not re-render.This limits the usefulness of the hook, as you then have to drop down to
useEffect
The text was updated successfully, but these errors were encountered: