Skip to content

Conversation

@Ricky512227
Copy link

Removes console.warn statements from useDeepCompareEffect hook as requested in #755. This allows users to use the hook with dependencies that could be either undefined or an object without receiving warnings.

@Ricky512227 Ricky512227 force-pushed the fix/remove-warnings-useDeepCompareEffect branch 4 times, most recently from 0eb85b5 to f11a686 Compare December 24, 2025 00:07
Removes the console warnings that were showing up in dev. The hook works
fine with primitives, objects, or undefined - the warnings were just
annoying for valid use cases.

Fixes streamich#755
@Ricky512227 Ricky512227 force-pushed the fix/remove-warnings-useDeepCompareEffect branch from f11a686 to f2d6a2d Compare December 24, 2025 00:09
@Ricky512227 Ricky512227 marked this pull request as ready for review December 24, 2025 00:11
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