useValues is not a function, react-native-redash

3.3k Views Asked by At

After upgrading react-native-redash from 9.6.0 to 15.11.1, I can't find useValues anymore. Has it been removed? Is there a new preferred way to get animated values?

1

There are 1 best solutions below

3
On BEST ANSWER

In the github readme it is written under "V1 Users", that you can import old functions from v1 via:

import { useValues } from  "react-native-redash/lib/module/v1";

Update December 2022.

Since version 17.0.0 v1 version is not supported anymore. The Last compatible version is 16.3.0. You can use this version from GitHub as well.