Blog Posts

Proper Use of Suspense with Hooks in Next.js

October 26, 2024

Learn how to correctly implement Suspense boundaries with hooks like useSearchParams() in Next.js to avoid common errors and improve application performance.

Mock a single module differently in a single test file using jest

May 28, 2023

Mocking a single module differently in a single test file using jest

Encode credentials to base64 using Javascript

May 21, 2023

Encode username and password to base64 using Javascript for authorization header

Expose Your Localhost to the World

May 14, 2023

Expose your localhost to the world with few easy commands using localtunnel.

Using Redis on Mac

April 16, 2023

Quick cli commands to manage redis on your mac

Using react's i18next with MUI typography

April 9, 2023

Using i18next translation texts with Material UI's typography