Frameright / Frameright/react-image-display-control
Listen to children's change in `src=`
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 28
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
```html
```
In case the child's `src=` is constructed for example based on its state, updated later asynchronously by a `useEffect()`, we (the parent ``) won't notice the change, and so we won't fetch the new image regions corresponding to the new image.
How to solve this? With a `MutationObserver`? With some kind of subscription to the children's React states?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.