Anthony Oyathelemhi
Dev Notes by Tony

Dev Notes by Tony

Follow
Follow
homebadges

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 (+)

Aug 30, 20214 min read

Understanding the addition operator in JavaScript, with all it's nuances · One of the uses of the plus (+) symbol in JavaScript is to perform addition of...

The Basics: JavaScript Addition Operator (+)

The Little Known CSS Unit

Aug 23, 20212 min read

As a Frontend Developer, it is sometimes humbling to know just how much you don't know about the basic building blocks of the web. The amount of tools...

The Little Known CSS Unit

How to preload pages with Nextjs

Aug 15, 20212 min read

There are two next-specific ways you can navigate between pages in a Nextjs application (on the client side) Using the component from next/link...

How to preload pages with Nextjs