[bug]: Crash to white screen
Open
Nobody has claimed this yet.
area: core
kind: bug
- Dominant language
- TypeScript
- Stars
- 29.1k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Which react-spring target are you using?
-
@react-spring/web -
@react-spring/three -
@react-spring/native -
@react-spring/konva -
@react-spring/zdog
What version of react-spring are you using?
10.0.0
What's Wrong?
I'm trying to use react-spring in an Expo React Native app however the app crashes to white screen as soon as I open it.
To Reproduce
- I installed
@react-spring/native - I imported
import { useSpring, animated } from "@react-spring/native"; - Add
useSpringto a component - App crashes with white screen.
Expected Behaviour
App shouldn't crash.
Link to repo
https://github.com/leo-petrucci/react-spring-native-bug/tree/master
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the linked reproduction repository as the starting point and inspect the @react-spring/native import and the component where useSpring is added. Reproduce the Expo React Native crash with react-spring 10.0.0, then confirm the app opens without a white screen.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100