Have you considered adding a hook to the load event, like RN Image component have a onLoad prop?
one usecase is to wait the SVG is loaded before snapshotting it with react-native-view-shot (which I think is the cause of the bug raised by one of the lib user: https://github.com/gre/react-native-view-shot/issues/90 ), we can't automatically know without having a onLoad callback in this lib.
Have you considered adding a hook to the load event, like RN Image component have a
onLoad
prop?one usecase is to wait the SVG is loaded before snapshotting it with react-native-view-shot (which I think is the cause of the bug raised by one of the lib user: https://github.com/gre/react-native-view-shot/issues/90 ), we can't automatically know without having a onLoad callback in this lib.