DEV Community

Justin profile picture

Justin

404 bio not found

Joined Joined on  github website

All 14 comments

Client-Side and Server-Side Redirects in Next.js

You are correct in that you can't use both. This guide was ba...

Which concept took you the longest to grasp?

Recursion and pointers.

React cant reach current state

Because of a stale closure, following the rules of Javascript...

React cant reach current state

You can get the latest value by passing a function to setUser...

The Complete Guide to Next.js Authentication

UPDATE: support for redirects in getServerSideProps was relea...

Blue/Green Node.js Deploys with NGINX

Thanks for taking the time to read this post and to share you...

Blue/Green Node.js Deploys with NGINX

It took me 3-4 days to figure it out and code it up and then ...

Blue/Green Node.js Deploys with NGINX

Thank you. That's helpful. I particularly like your idea abou...

Blue/Green Node.js Deploys with NGINX

Holy smokes! I haven't heard of that before. I gotta try it o...

Detecting a User's Authenticated State Client-Side in Next.js using an HttpOnly Cookie and Static Optimization

Yes, that's how it works. It doesn't use server-side renderin...

Using next-i18next in Storybook

Yes, I'm using the useTranslation() hook.

Using mapbox-gl in React

I looked at some of those. They have a different philosophy b...

Using next-i18next in Storybook

I believe it's a client-side load inside of Storybook.

Detecting a User's Authenticated State Client-Side in Next.js using an HttpOnly Cookie and Static Optimization

Actually, having an empty array [] makes it run only once. Se...

loading...