[bug]: `useTransition` with boolean item and function config doesn't animate since `9.5.2`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
リンクされている CodeSandbox の再現コード、特に src/App.tsx から始め、boolean の後に関数設定を渡している @react-spring/web の useTransition 呼び出しを調べてください。バージョン 9.5.2 と 9.7.1 での動作を比較してください。ドキュメントに記載された構文が期待どおりにアニメーションするか、適切な TypeScript エラーを生成すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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?
9.7.1
What's Wrong?
When using useTransition, if you pass in a boolean as the first argument and a function as the second argument, the transitions do not run as expected.
This syntax use to work in previous versions up until version 9.5.2, where it's suddenly stopped working.
To Reproduce
Code sandbox which demonstrates the issue https://codesandbox.io/s/little-voice-5hl8w6?file=/src/App.tsx
Expected Behaviour
If this syntax is not valid, I would expect to see some Typescript errors.
If it is valid syntax, I expect the transitions to run as expected.
Link to repo
https://codesandbox.io/s/little-voice-5hl8w6?file=/src/App.tsx
- 主要言語
- TypeScript
- スター
- 29.3k
- フォーク
- 1.2k
- 平均マージ
- 3日 15時間
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pmndrs/react-spring のほかの issue
-
template: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
pmndrs/react-spring#2656 ·
メンテナーはふだん 1 日以内に返信
-
area: core kind: request
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
pmndrs/react-spring#2542 ·
メンテナーはふだん 1 日以内に返信
-
area: typescript kind: request release: major
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
pmndrs/react-spring#2541 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
release: major type: RFC
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
pmndrs/react-spring#2522 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[bug]: Tab crash with skipAnimation and loop対応中かも @mrityunjay-pandey が 43 日前に担当しました。 オープンarea: core kind: bug
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
pmndrs/react-spring#2409 ·
メンテナーはふだん 1 日以内に返信
pmndrs/react-spring の issue をすべて見る
似ている issue
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
lingdojo/kana-dojo#34714 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
manaflow-ai/cmux#59692 ·
メンテナーはふだん 1 日以内に返信
-
Retire stale Python-parity labels in Rust ingress and auth tests対応中かも @github-actions が今日担当しました。 オープンfactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
JoshCLWren/comic-pile#5874 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
area: community lane: free-agent priority: P1 roadmap type: task
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
velella-sh/offing#1046 ·
メンテナーはふだん 1 日以内に返信