Cannot read properties of undefined (reading 'route')
elvinn opened this issue · 2 comments
elvinn commented
According to Doc - Speed Insights
,I should use injectSpeedInsights();
to init in other framework.
However, it will throw an error like below:
Solution: should I use injectSpeedInsights({});
instead of injectSpeedInsights();
? In the source code, props
is not optional, otherwise it will throw an error when execute props.router
.
feugy commented