Use analytics hooks with React router v6

preview_player
Показать описание
How to use analytics react hook with React router version 6.

Рекомендации по теме
Комментарии
Автор

Nice demonstration. I just got into a new job where I have to do some analytics and this seems to be the right approach. Thank you!

jegtugado
Автор

This is great, thanks David! Really liking this library.

kellenbusby
Автор

Great video. And if I had a context provider in App.js, will work ok?

patitorodri
Автор

Would you use this approach using a redux-middleware for sending all user actions into analitycs (3rd party)?, I think I'm building my own custom redux middleware for this unless anyone else knows a better solution. I'm all ears :)

TheMrtastee
Автор

Hi David. I want to be able to add an analytics plugin by calling a JS function, is this possible? Main reason is that I am getting configuration values from a web API which is required by the plugin. Hope you see this message. Thanks.

jegtugado
Автор

useLocation() hook was first introduced in v5, not in v6

puspendertanwar
join shbcf.ru