1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Uncaught Error: Absolute route path "/:id" nested under path "/page2" is not valid. An absolute child route path must start with the combined path of all its parent routes

1
Posted at

はじめに

  • react-router-domの話

問題

  • エラーでpath parameter解決できない

解決

  • /:id:id に変更して解決

終わりに

  • メッセージの通り絶対パスと解釈されるものはダメのようだ
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?