Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

Only set render context if shouldUpdate prop exists #13

Open
leland-kwong opened this issue Mar 25, 2020 · 0 comments
Open

Only set render context if shouldUpdate prop exists #13

leland-kwong opened this issue Mar 25, 2020 · 0 comments

Comments

@leland-kwong
Copy link
Owner

leland-kwong commented Mar 25, 2020

To save on performance and memory we should only set contextual data like onPathValue and setCurrentConfig when props.shouldUpdate exists. Still need to check if it is an actual performance boost though.

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

1 participant