Skip to content
This repository was archived by the owner on Sep 13, 2020. It is now read-only.
This repository was archived by the owner on Sep 13, 2020. It is now read-only.

Use native driver for the animation #387

@nes123

Description

@nes123

It seems that a simple change will make this library much smoother

animationFunction: (prop, value) => Animated.spring(prop, {
toValue: value,
friction: 8,
}),

goes to:

animationFunction: (prop, value) => Animated.spring(prop, {
toValue: value,
friction: 8,
useNativeDriver: true
}),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions