Closed damzobridge closed 2 weeks ago
thank you so much! 🙌 will there be a patch release for this?
thank you so much! 🙌 will there be a patch release for this?
@petersli should be available from v4.12.1
!
hi @damzobridge, I think this actually doesn't catch the errors thrown by file.init()
due to it being async. I think this could fix it: https://github.com/rive-app/rive-react/pull/270
Thanks @petersli , you're right! However, we're also working on updating the core rive-wasm
package to catch all the RiveFile.init()
issues and report them using the error callbacks. Once that's done we'll push out a fix for the react package.
This PR addresses the issue with the
useRiveFile
hook not properly catchingRiveFile
initialization errors.