react-gtm icon indicating copy to clipboard operation
react-gtm copied to clipboard

How come this package is named `react-*`?

Open nikitaeverywhere opened this issue 1 year ago • 3 comments

I quickly scanned through README.md and the code of the package, and I see literally nothing that means React or makes it usable with React only.

Why then it carries such a name?

CC @sooro-io @daniel-bartylla you might want to rename your package too, would you?

nikitaeverywhere avatar Jun 04 '24 11:06 nikitaeverywhere

I can't tell you why the package was originally named that way. But I agree with you, it is currently more of a generic utility function which is not actually React specific.

Regarding the renaming of the package. Since the next features to come will definitely be based on React elements, or even require them (contexts, hooks), I would leave the name react-*. This means that the package will develop in a significantly different direction than the original one. But at least it will live up to its name.

daniel-bartylla avatar Jun 06 '24 06:06 daniel-bartylla

is this package still working fine? last update is 4 years ago does this still work with latest google tag manager? ok to use in react production code??? @daniel-bartylla @nikitaeverywhere

encryptblockr avatar Nov 29 '24 11:11 encryptblockr

We use it in production for non-react project. 1 million active users on the sites combined.

jaxzon avatar Dec 11 '24 09:12 jaxzon