[feat]: Interpolate with a delay
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
issue ではファイルもテストも指定されていません。まず SpringValue interpolation API の場所を特定し、delay の例を確認します。次に、非対称なアニメーション遅延を含む、遅延付き interpolation の動作を定義し、その説明どおりに遅延付きの値と遅延なしの値が動作することを示すテストカバレッジを追加します。
索引モデルが issue の本文から書いたものです。
説明
A clear and concise description of what the feature is
When using SpringValue interpolations, we should be able to interpolate with a delay.
Why should this feature be included?
For complex animations with multiple components and values being animated together, it's nice to be able to hook them all to one driving spring. It can be very difficult to use the existing interpolation API to stage animations, especially when they are asymmetrical (want a delay on animation in, no delay on animation out).
Please provide an example for how this would work
import {delay} from 'react-spring'
const spring = useSpring({ x: isActive ? 1 : 0})
// component with delay
<animated.div style={{opacity: spring.x.to(x => delay(x, 200))}} />
// component without delay
<animated.div style={{opacity: spring.x}} />
// component with existing api
<animated.div style={{opacity: spring.x.to([0, 0.5, 1), [0, 1, 1])}} />
- 主要言語
- 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 日以内に返信