AnimatePresence Giving Error

オープン
#172 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
15/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
react, typescript
領域
frontend

調査の方向性

The report names React 17, TypeScript, and framer-motion 4.1.17 but mentions no restyle file or test. Start by reproducing the AnimatePresence import and type error with those versions, then determine whether the problem belongs to this repository; done means a confirmed repository-scoped fix or clear evidence that it is unrelated.

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

説明

needs-reproduction

Hi ,
I am Using React :"^17.0.2", and "Framer-motion": "^4.1.17" but after importing "AnimatePresence" from "framer-motion" it shows error like this
Type '{ children: false | Element; key: string; initial: false; exitBeforeEnter: true; onExitComplete: () => null; }' is not assignable to type 'IntrinsicAttributes & AnimatePresenceProps'.
Property 'children' does not exist on type 'IntrinsicAttributes & AnimatePresenceProps'.ts(2322)

主要言語
TypeScript
スター
3.4k
フォーク
154
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

Shopify/restyle のほかの issue

Shopify/restyle の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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