Skip to content

Is or will be loading - #91

Merged
noahgrant merged 3 commits into
masterfrom
is_or_will_be_loading
Apr 9, 2021
Merged

Is or will be loading#91
noahgrant merged 3 commits into
masterfrom
is_or_will_be_loading

Conversation

@noahgrant

Copy link
Copy Markdown
Owner

Description of Proposed Changes:

  • Adds a helper method returned by useResources/withResources called isOrWillBeLoading that can be used in the areEqual function for React.memo as a performance enhancement. This keeps memoized expensive components from rendering in the background when loading states change.

@noahgrant
noahgrant merged commit 08b2a7c into master Apr 9, 2021
@noahgrant
noahgrant deleted the is_or_will_be_loading branch April 9, 2021 17:54
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