[bug]: Crash to white screen

オープン
#2,371 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@hrishikesh2810 がすでに取り組んでいます。

2026年1月12日 から。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react-native, typescript
領域
mobile

調査の方向性

リンクされた再現リポジトリを出発点として使用し、@react-spring/native の import と useSpring が追加されているコンポーネントを調査します。react-spring 10.0.0 で Expo React Native のクラッシュを再現し、その後、アプリが白い画面にならずに開くことを確認します。

索引モデルが issue の本文から書いたものです。

説明

area: core kind: bug
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
  1. I installed @react-spring/native
  2. I imported import { useSpring, animated } from "@react-spring/native";
  3. Add useSpring to a component
  4. 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

主要言語
TypeScript
スター
29.3k
フォーク
1.2k
平均マージ
3日 15時間
マージ済み PR(30日)
17

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pmndrs/react-spring のほかの issue

pmndrs/react-spring の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。