Skip to content

Commit

Permalink
Remove extraneous dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed Jun 17, 2021
1 parent a076f94 commit 06652f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function useContextSystemBridge( { value } ) {
) {
warn( `Please memoize your context: ${ JSON.stringify( value ) }` );
}
}, [ parentContext, value ] );
}, [ value ] );

// parent context will always be memoized or the default value (which will not change)
// so this memoization will prevent `merge` and `cloneDeep` from rerunning unless
Expand Down

0 comments on commit 06652f8

Please sign in to comment.