civiccc / civiccc/react-waypoint

Performance issues with multiple Waypoints

Open
#303 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.