re: Reach Router - An Easy Alternative Way to React Router VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Using path directly on the component is shorter but it's not a known property of the component. In JS this "error" just gets hidden but it will not...
 

Yea, it throws an error in TypeScript. You have to define it that component to get rid of that error. I've read that article a few days before writing this post but they did not yet implement the API.

code of conduct - report abuse