chenglou / chenglou/react-motion

Prevent update of connected children to "leaving" components

Open
#470 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
21.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Using another transition/animation library I began having problems with my "leaving" component's children that were connected to the redux store rerendering because of the store changing to reflect that data required for the "entering" component.

Can this problem be remedied in react-motion? Optimally i would like to either:

1. Prevent rerendering of all children, including those connected to the store using react-redux.
2. Take a snapshot of the leaving components entire DOM tree and animate that instead of the actual component.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review react-motion's transition and animation behavior, focusing on how leaving components with Redux-connected children respond when entering-component data changes. Compare preserving the leaving component tree with animating a DOM snapshot; done requires a defined behavior that prevents unwanted rerenders or safely animates the leaving content.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, redux
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.