Anthony Oyathelemhi
Dev Notes by Tony

Dev Notes by Tony

Follow

Add Auto-logout To A React App

Nov 14, 20212 min read

Learn how to correctly implement auto-logout logic in React · TL;DR const logoutTimerIdRef = useRef(null); useEffect(() => { const autoLogout = () =>...

Add Auto-logout To A React App
The Basics: JavaScript Addition Operator (+)
The Little Known CSS Unit
How to preload pages with Nextjs