github nytimes/react-tracking v2.1.0

latest releases: v9.3.2, v9.3.1, v9.3.0...
7 years ago

New Features

options.dispatchOnMount() as a function (#20) - You can now provide a function instead of just a boolean for dispatchOnMount. The function provided will be called with a single argument, all of the context tracking data in the app. You can chose to ignore this in order to dispatch exactly the object you want when the component you are decorating mounts (in componentDidMount()).

See the README for example usage.

Don't miss a new react-tracking release

NewReleases is sending notifications on new releases.