Skip to content
This repository was archived by the owner on Sep 16, 2020. It is now read-only.

Only Call this.props.scroll when value changes #64

Open
cancan101 opened this issue Jan 29, 2016 · 0 comments
Open

Only Call this.props.scroll when value changes #64

cancan101 opened this issue Jan 29, 2016 · 0 comments

Comments

@cancan101
Copy link
Contributor

Right now this.props.scroll gets called a lot which means anywhere that calls setState using this value (ie to disable scrolling in parent) will suffer performance issues.

@silentcloud silentcloud reopened this May 11, 2017
zuoyoulian pushed a commit to zuoyoulian/react-native-swipeout that referenced this issue May 7, 2018
Move Dimensions import to deconstructed imprt for react-native 0.14+
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants