Closed michellehuang7 closed 2 years ago
Latest commit: 9d2406ac65a13375daecc15a12b8a1beba83b8a7
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Purpose 🚀
The state couldn't keep track of the updated data earlier, so we added a helper so user can manually refresh the state.
Notes ✏️
to use the updateData hook, we can use
useEffect
in the app and monitor if the data has been updated. (Credits to Yushan and Andrei for the advice 🙏)Updates 📦
If you have changed a component's source code (not stories, specs, or docs), before merging your branch run
yarn changeset
. This will prompt you to:Storybook 📕
http://storybooks.highbond-s3.com/paprika/ASM-1812--filter-update-data
References 🔗
https://aclgrc.atlassian.net/browse/ASM-1812