guillaumeparis2000 / react-piwik

Library that allow to connect piwik with the react-router and track custom events
31 stars 17 forks source link

add support for react router 6 #47

Closed tommyka closed 2 years ago

tommyka commented 2 years ago

In version 5 of the history class updates was changed from sending 2 objects location and path, to a single object containing both.

This adds support for both versions. fixing issue #46

Dron007 commented 5 months ago

It looks like build file in /lib/ was not updated and error still exists.

guillaumeparis2000 commented 4 months ago

@Dron007 Feel free to open a pull request to fix it, latelely I doesn't have a lot of time to dedicate to this project.