Skip to content

[bug]: Flimmering video (with SSR?) #2305

Open
@Wallman

Description

@Wallman

Which react-spring target are you using?

  • @react-spring/web
  • @react-spring/three
  • @react-spring/native
  • @react-spring/konva
  • @react-spring/zdog

What version of react-spring are you using?

9.7.3

What's Wrong?

When using NextJS and SSR, animations including videos flicker and does not look good. See codesandbox.

To Reproduce

Setup a NextJS/SSR project and try to animate videos.

Expected Behaviour

No flickering, seems to work good on client side rendered stuff.

Link to repo

https://codesandbox.io/p/devbox/react-spring-ssr-video-bug-y3kq5m

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions