fand / react-vfx

WebGL effects for React elements
https://amagi.dev/react-vfx
468 stars 16 forks source link

fix: VFXImg / VFXVideo not working when initialized after the img / video is loaded #74

Closed fand closed 4 days ago

fand commented 4 days ago

We added isLoading guard to wait for img/video load in https://github.com/fand/react-vfx/pull/69 , however it's causing REACT-VFX not initializing correctly when the img/video is already loaded. We improved the loading algorithm on VFX-JS side, so we can remove isLoading guard safely now.

vercel[bot] commented 4 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-vfx-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2024 11:10pm