Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@glintik
Copy link

@glintik glintik commented Sep 21, 2021

…ller.

Proposed solution to cache modifiers result from #2140 to improve rendering performance.
@ljharb please take a look.

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any tests that could illustrate how this helps?

return { currentMonth, visibleDays };
}

getCachedPropByDay(day, prop, props, forceUpdate = false) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason this is cached on the instance, instead of being done in react state?

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.

3 participants