Articles

All of my long-form thoughts on programming, leadership, product design, and more, collected in chronological order.

Laravel Auth::user()がSSRでnullになる問題と対処法

Next.jsとLaravelを組み合わせたプロジェクトにおいて、サーバーサイドレンダリング(SSR)時にAuth::user()がnullになってしまう問題とその対処法について解説します。