react-native-skia
react-native-skia copied to clipboard
Whenever I use useCanvas the component NEVER gets unmounted.
// 💚 useCanvasSize() can safely be used here const {size} = useCanvas();
Safely? Hell no. It literally never unmounts, event when I pop it from the stack somehow it still exists
BTW, I couldn't even use the onLayout callback on Canvas, I had to use it on its parent view. Furthermore, I'm using RN 0.69., Skia 0.1.136.
Can you provide a code snippet that would help us to reproduce the issue?
@gigadeplex we tried to reproduce the issue but we were unable too. Please reopen this issue if you have an example we can try.