Published onSeptember 24, 2024How to reset the state of useActionState in ReactdevreactIt's kinda weird that the state cannot be reseted easily
Published onSeptember 23, 2024How to protect Next.js App Router's page with authorization checkdevreactnext.jstypescriptWhen we don't want anyone to be able to access the page
Published onSeptember 22, 2024How to create infinite scroll with server action and useActionState in Next.jsdevreactnext.jstypescriptNo fetching, no useState, and no API endpoint
Published onSeptember 15, 2024How to deploy a single file website to VerceldevvercelNo build steps, no 3rd party dependencies, just a single file
Published onSeptember 10, 2024Interesting behaviour of useTransition in Next.jsdevnextjsreactI just found out about its two use cases