React-spring: Document usage with React Native

Created on 30 Apr 2019  路  3Comments  路  Source: pmndrs/react-spring

I've read this can be used with react native but I can't seem to make it work and there's no mention of react native in the documentation.

By digging through the issues, I've seen various things to try but nothing has worked. For example...

Do we import from react-spring/native or react-spring/native-hooks or something else?

It would be great to get some mention of whether this library works in react-native in the documentation and a basic example of what we need to do differently in react-native to get it working

documentation enhancement

Most helpful comment

FYI it is indeed import { animated, useSpring } from 'react-spring/native for anyone wondering

All 3 comments

FYI it is indeed import { animated, useSpring } from 'react-spring/native for anyone wondering

Does this work with Transition? I can't import Transition from react-spring/native

Why isn't this listed anywhere, still?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fortezhuo picture fortezhuo  路  3Comments

MaximeDenuit picture MaximeDenuit  路  4Comments

Oba-One picture Oba-One  路  3Comments

n1ru4l picture n1ru4l  路  3Comments

mkhoussid picture mkhoussid  路  3Comments