takasaki376 / ThoughtKeeper-web

https://thought-keeper-web.vercel.app/
0 stars 0 forks source link

pathpida削除しました #14

Closed yoko-at-home closed 1 year ago

yoko-at-home commented 1 year ago

Qinの共同開発でdynamic routeを渡す段階でエラーが出ることがわかりました。 NextのApp RouterではTyped Linkがデフォでありpathpidaは使わないほうが良いとのことでした。 プロジェクトから削除しました。

参考リンク https://nextjs.org/blog/next-13-2#statically-typed-links https://nextjs.org/docs/app/api-reference/components/link#href-required

Nextのバグらしいという情報↓ https://github.com/vercel/next.js/issues/47689

このエラーは次の情報で回避できるようなのですが、最善策でないとのこと https://github.com/aspida/pathpida/issues/141#issuecomment-1474739540

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thought-keeper-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 20, 2023 2:10am
thought-keeper-web-4jir ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 20, 2023 2:10am
takasaki376 commented 1 year ago

typedRoutes

yoko-at-home commented 1 year ago

他のブランチだとエラーになるのでSigninボタンの実装をこのブランチで済ませてしまいました。

takasaki376 commented 1 year ago

ヒントになりそうな https://zenn.dev/terrierscript/scraps/351e0e59860593