Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Next.js13.4 App Routerへの移行 #21

Merged
merged 54 commits into from
Jul 3, 2023
Merged

Conversation

kyonenya
Copy link
Owner

@kyonenya kyonenya commented Jun 19, 2023

参考

Server Actions のエラーハンドリング

結論:無理。Server Component には useState がないが、データフェッチ後のエラー表示には state 相当のものが必要なので、無理です

Supabase Auth

@vercel
Copy link

vercel bot commented Jun 19, 2023

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

Name Status Preview Comments Updated (UTC)
manuscript ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2023 6:47am

@kyonenya kyonenya changed the title chore: pagesディレクトリを退避してapp directoryを掘る refactor: Next.js13.4 App Routerへの移行 Jun 19, 2023
@kyonenya
Copy link
Owner Author

kyonenya commented Jun 20, 2023

完コピで草

CAC59B33-50C9-4939-B5A6-DB3B178AB1A2

  • text-strong, medium, weakなどをコンポーネント化。色以外に関心を持たないコンポーネント
  • 背景色もそうしたいけどモーダルとかボタンホバーとか考えるとしんどい? ベースと浮き上がりとさらに浮島、くらいは分けたいが。これも色以外に関心を持たない
  • ホバー色は Tailwind Variants でボタン側に用意しておくべき。どう考えても!

やっつけローディングページ・ボタンスタイル上書き・バリデーションが適当
@kyonenya kyonenya self-assigned this Jun 22, 2023
Copy link
Owner Author

@kyonenya kyonenya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ログインせず見る、ボタン

app/not-found.tsx Outdated Show resolved Hide resolved
app/PostList.tsx Outdated Show resolved Hide resolved
app/PostListHeader.tsx Outdated Show resolved Hide resolved
app/_components/Select.tsx Outdated Show resolved Hide resolved
app/login/page.tsx Outdated Show resolved Hide resolved
.eslintrc.json Outdated Show resolved Hide resolved
app/[uuid]/loading.tsx Outdated Show resolved Hide resolved
app/login/page.tsx Outdated Show resolved Hide resolved
app/login/page.tsx Outdated Show resolved Hide resolved
@kyonenya kyonenya merged commit 92adcbc into main Jul 3, 2023
@kyonenya kyonenya deleted the refactor_app-router branch July 3, 2023 08:40
@kyonenya
Copy link
Owner Author

kyonenya commented Jul 8, 2023

how-to-import
how-to-print

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant