Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unmount using react #272

Open
stulzer opened this issue May 3, 2024 · 0 comments
Open

Unmount using react #272

stulzer opened this issue May 3, 2024 · 0 comments

Comments

@stulzer
Copy link

stulzer commented May 3, 2024

So, I'm developing a react app and using etro do edit some videos on it. Are there a proper way to do the unmount of a component using etro?

Asking because I realized that after a few edits on different videos they all start to play slow. Refreshing the page makes them perform well.

So far I'm using movie.pause() and setting the reference (useRef) to null for the unmount, but still not 100% performative as it is after a full refresh, which indicates some memory leak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant