Skip to content

feat: create useMutableValue and useMutableValues#311

Open
fardad-dev wants to merge 1 commit into
wcandillon:masterfrom
fardad-dev:master
Open

feat: create useMutableValue and useMutableValues#311
fardad-dev wants to merge 1 commit into
wcandillon:masterfrom
fardad-dev:master

Conversation

@fardad-dev

Copy link
Copy Markdown

This PR is a new feature.

const translateY = useMutableValue(top || aPropMatter);

useMutableValue give us an AnimatedValue. useMutableValue first parameter values will be applied to the same AnimatedValue if that changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant