Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(frontend): refactor data load triggers #159

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

eatyourgreens
Copy link
Contributor

Remove some of the complexity from the data load triggers for the data map, without breaking the Adaptions map. These triggers rerender the data map whenever we make a change to the adaptation options sidebar panel.

@eatyourgreens eatyourgreens force-pushed the refactor-data-load-triggers branch 4 times, most recently from 234a512 to 758fb85 Compare October 14, 2024 16:24
Remove some of the complexity from the data load triggers for the data map, without breaking the Adaptions map. These triggers rerender the data map whenever we make a change to the adaptation options sidebar panel.
@eatyourgreens
Copy link
Contributor Author

I expected this to be slower without the memo-ised callbacks, but I'm not actually seeing any change in the number of map renders (running the frontend locally on a laptop.)

@eatyourgreens eatyourgreens merged commit e000f43 into main Oct 14, 2024
2 checks passed
@eatyourgreens eatyourgreens deleted the refactor-data-load-triggers branch October 14, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant