Skip to content

How to use Controller ? #1686

@lheido

Description

@lheido

🐛 Bug Report

Hi guys, first I'm new to the React world.
I've been trying to use the Controller class without success.
I just copy/paste the example in the documentation but the div never fades.
I don't understand what the problem is.

To Reproduce

Copy/paste the Controller example in the documentation to a sandbox (CodeSandbox).

Link to repro

https://codesandbox.io/s/cocky-chebyshev-p7lhr?file=/src/Test.js

Environment

  • react-spring v9.2.4
  • react v17.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions