Skip to content

v2.1.0

Compare
Choose a tag to compare
@tizmagik tizmagik released this 15 Feb 20:32

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.