react-native-redash: v1 API doesn't work anymore
Hi @wcandillon !
I see you’ve changed master to point at the v2 API. I’ve upgraded to package version 15.0.2 and can’t use the API at all anymore:

I’ve tried:
import { usePanGestureHandler, snapPoint, min, useClock, spring } from 'react-native-redash';
as well as:
import { usePanGestureHandler, snapPoint, min, useClock, spring } from 'react-native-redash/lib/module/v1';
but nothing seems to work. Am I supposed to stay on package version 14.x.x?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (6 by maintainers)
I will investigate further, could you use v14 in the meantime? Currently, between v14 and v15 there are no differences in the v1 part.
I’ve added the link for the documentation in the Readme, it is https://wcandillon.github.io/react-native-redash-v1-docs/