civiccc / civiccc/react-waypoint
Performance issues with multiple Waypoints
Open
- Dominant language
- JavaScript
- Stars
- 4k
- Forks
- 206
- PR merge metrics
- No merged PRs in 30d
Description
I'm having some performance issues with Waypoints.
I'm using 5 of them in a big form (about 100 fields).
This is how i'm using them ->
`` this.setState({ resourceInfoSection: true })} onLeave={() => this.setState({ resourceInfoSection: false })}>
``
Each Waypoint sets a different state so i can trigger a classchange on some buttons (if the user gets to the resources section, button gets a css class, when it leaves the section the class gets removed).
Any tips?
Contributor guide
Assessment
This issue has not been assessed yet.