joernroeder / piwik-react-router

Piwik analytics component for react-router
https://www.npmjs.org/package/piwik-react-router
MIT License
61 stars 22 forks source link

Rename this package to matomo-react-router #53

Open MattiSG opened 6 years ago

MattiSG commented 6 years ago

Hi there,

Thanks for piwik-react-router! It's really useful 🙂

Piwik has been renamed to Matomo in January 2018. What are your plans for this package? Are you considering renaming it, and maybe having a double publish under both package names for a while? 🙂

Cheers!

joernroeder commented 6 years ago

hey @MattiSG, sorry for the late response. I actually thought about renaming this package before piwik changed it's name. The reason is that theoretically this package really doesn't require react at all. Its main dependency is history, how a change of the history gets triggered doesn't matter to this package in the end. It just provides an (hopefully) easy way to interact with matomo in your client side framework and plays well with react right now. But you could also use it with any other client side routing system which builds on top of the history module or even implement your own history bridge which you could connect around any client side routing. I'm using vuejs at the moment quite often and just did not find the time to connect this module it to vue-router. long story short: i hope to make matomo-react-router more library independent to end up eventually with matomo-router so i'm definitely renaming this package soonish. I also haven't checked best practices how to rename npm packages without breaking legacy versions and have to dig into this as well.