react-component / react-component/motion
CSSMotion render props 回调中的className闪烁一下,然后消失
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 178
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
https://codesandbox.io/s/eager-pine-9kh0k?file=/src/index.js
console中的输出,先正确输出类名,然后输出undefined
Contributor guide
No contributing guide indexed for this repository
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
Start with the linked CodeSandbox and reproduce the CSSMotion render-props callback while watching the console output. Trace where the callback first receives the correct className and then receives undefined. Done means the className remains correct throughout the motion lifecycle and the reproduced console output no longer shows the transient undefined value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100