Closed marandaneto closed 1 month ago
Size Change: +162 B (+0.15%)
Total Size: 106 kB
Filename | Size | Change |
---|---|---|
posthog-react-native/lib/posthog-react-native/src/posthog-rn.js |
3.97 kB | +162 B (+4.26%) |
Not fluent in js but I think we could also use the spread operator to merge defaults with params.
LGTM though
Yes, the spread operator would merge but it'd have the wrong result if someone passes eg maskAllTextInputs: undefined
, the undefined would have precedence over the default value, with the current form, no, the default value would have precedence.
Yeah, super valid thinking. Awesome :)
Problem
https://posthog.com/questions/installing-session-replay-and-updating-posthog-crashes-the-app
Changes
Release info Sub-libraries affected
Bump level
Libraries affected
Changelog notes