Skip to content

Animation Website useAnimatedValue #4654

@ramonRain

Description

@ramonRain

Description

https://reactnative.dev/docs/animations?language=typescript

The Animations documentation shows code that is not correct and is not working in the selected version

The animation example falls into an error when trying to show the example code.

The website uses a constant using the hook "useAnimatedValue", as a function, when react-native throws error because is not a function. "useAnimatedValue" doesnt work in the project I am working either (instead Animated.Value is being used, as corrected mentioned in the documentaiton text).

Image

Documentation version

0.71, 0.72, 0.73, 0.74, 0.75, 0.76, 0.77, 0.78, 0.79 and next;

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