Closed WickyNilliams closed 6 months ago
Ready 👍, bug fixed in atomico@1.76.1, Thanks for sharing your issue
Amazing thanks. I'll check if it fixes my issue and close this if so
Confirmed the issue is resolved in the stackblitz above. Thanks again!
Describe the bug I noticed that in a parent-child relationship, where the child accesses a prop via
useProp
, the prop's value can become stale/out of date.Browser (please complete the following information):
To Reproduce Steps to reproduce the behavior:
useProp
value does not update in the child, whilst it does in every other placeScreenshots or video If applicable, add screenshots to help explain your problem.
Expected behavior The value returned from
useProp
should always match the value from the props arg passed to the component function