IIFE in Javascript

Have you ever come across a function in JavaScript that's wrapped in parentheses and immediately executed? It might look strange at first, but it’s actually one of the most elegant patterns in JavaS...
0 Read More

Week 9: Back to the Grind

Wow. It's already the 9th week since I resolved to study and improve my frontend skills. We've come quite far since Chinese New Year. The previous posts were all pretty haphazard, so here's hoping tha...
0 Read More

useFetch Hook in React

useFetch Hook in React
Fetching data is a common requirement in React applications. If you frequently make API calls, managing state in multiple components can become repetitive.In this post, we'll first build a component ...
0 Read More

useAuth Hook in React

useAuth Hook in React
Authentication and authorization are crucial aspects of web applications. Instead of handling them manually in multiple components, we can create a reusable hook to simplify the logic. In this article...
0 Read More