Closed danielcrk closed 3 years ago
What would be the recommended approach to use the hook with nullable non-primitives? Currently, checkDeps throws an error if a dep is null.
checkDeps
Rather than [nullableState], you could use: [{state: nullableState}]
[nullableState]
[{state: nullableState}]
What would be the recommended approach to use the hook with nullable non-primitives? Currently,
checkDeps
throws an error if a dep is null.