react-tracking
react-tracking copied to clipboard
🎯 Declarative tracking for React apps.
## what - create .nvmrc file, add 16.9.1 node version - add engines field in package.json ## references - https://github.com/nytimes/react-tracking/issues/204
For local dev, we should pin node version: - Introduce `.nvmrc` - Add [engines](https://docs.npmjs.com/cli/v6/configuring-npm/package-json#engines) field
When using `const { trackEvent } = useTracking();`, Typescript throws the following error: ```Avoid referencing unbound methods which may cause unintentional scoping of this. If your function does not access...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
Is it possible to update the types for the `useTracking` hook to allow for passing in an object.
First of all, thank you for this really neat work! Secondly, I simply want to make sure I don't send duplicates. I was thinking maybe I can check prevData and...
Currently, it is impossible to track objects of type `Error` or objects that inherit from `Error`. This is because `deepmerge` treats `Error` as a mergeable object and creates a plain...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
When using the useTracking Hook with an options.process set, it only seems to execute on initial page load. When switching between pages, the process function does not execute. Example: https://codesandbox.io/s/keen-sutherland-dqt20