faro-web-sdk icon indicating copy to clipboard operation
faro-web-sdk copied to clipboard

React-router-v7 peer dependencies support

Open francisco-sanchez-molina opened this issue 10 months ago • 2 comments

Description

We're updating to react-router v7 in our project and have noticed that @grafana/faro-react has a conflicting peer dependency with this version.

"peerDependencies": {
  "react-router-dom": "^4.0.0 || ^5.0.0 || ^6.0.0"
}

Are there any plans to support react-router v7 in the near future?

Thanks for the project!

Related to #759

codecapitano avatar Feb 12 '25 11:02 codecapitano

Hi @francisco-sanchez-molina yes we will but have no timeline yet. I'll bring up to the team for discussion.

codecapitano avatar Feb 12 '25 11:02 codecapitano

Hi @codecapitano, are there news on this front? I'd love to test Grafana's front-end feature, but my app uses React Router v7 in Framework mode, no way to inject Faro.

savissimo avatar Apr 28 '25 14:04 savissimo

#759 react / react-dom part seems to be already in main, which is great! 👏

Any ETA on getting this one also done?

MikkoSympa avatar Aug 14 '25 07:08 MikkoSympa

I'd be interested in v7 support as well.

Just as a note: React Router has a section in its documentation on how to instrument it – including patterns for OTel (server-side) and instrumentation/performance metrics in general. The API for that is still marked as unstable though.

TheRealCuran avatar Nov 18 '25 11:11 TheRealCuran