github nytimes/react-tracking v9.3.0
v9.3.0 - `mergeOptions` added

latest releases: v9.3.2, v9.3.1
17 months ago

New Features

You can now pass in mergeOptions as part of your config option to control exactly how react-tracking merges your tracking objects.

Example using isMergeableObject:

const { Track } = useTracking({}, { mergeOptions: { isMergeableObject: obj => !(obj instanceof Error) } });

Thanks @BenLorantfy for the implementation in #187 and @tizmagik for the documentation in #212

What's Changed

New Contributors

Full Changelog: v9.2.1...v9.3.0

Don't miss a new react-tracking release

NewReleases is sending notifications on new releases.