Skip to content

v9.3.0 - `mergeOptions` added

Compare
Choose a tag to compare
@tizmagik tizmagik released this 18 Dec 04:57
· 8 commits to main since this release

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