Skip to content

Issue: Re-mount RiveComponent multiple times cause web page laggy #400

@tommykwanpg

Description

@tommykwanpg

Steps to reproduce

  1. I use https://rive.app/marketplace/24941-46557-expression-grid/
  2. I have a Home page and a child page mount the RiveComponent
  3. then i enter & leave child page 10 times with react router
  4. entire page start laggy
const Animation = () => {
   const { RiveComponent } = useRive({ src: './expression-grid.riv' })
   return <RiveComponent />
}

Is there any possible WebGL context leaks?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions