Blog
My Blog
How to Create Custom Hooks in React: Simplified Guide with Examples
Heard about custom hooks but not sure how to harness their power? In this blog post, we’ll delve into the wonderful world of custom hooks in React, breaking down what they are, how to create them, and why they’re a game-changer for your projects. What Are Custom...
Understanding Layouts in React
If you're someone who works with React, you might think you know what a layout is. But, do you really? React, a popular JavaScript library for building user interfaces, employs the concept of layouts to organize and structure web applications. Despite its widespread...
useSyncExternalStore React API
You might have heard about a new tool called useSyncExternalStore() in React 18. It helps connect your React app to outside data sources. Usually, it's used by fancy internal tools like Redux to manage state. The official documentation explains that...
useActionState React Hook
The React team is updating a hook called useFormState because it caused confusion and wasn't just for forms. They're making these changes: Renaming it to useActionState. Adding a pending state to the returned values. Moving the hook from react-dom to the react...
Send Bearer Token with Axios
In today's digital world, securing your data and ensuring safe communication between your application and server is crucial. One common method of achieving this is by using tokens. Tokens act as a form of authentication, allowing only authorized users to access...
How to create Bootable USB and install Ubuntu
Deciding which version of Linux to put on your computer can be hard because there are a lot of options, and each one has its own unique features. One choice that many people like is Ubuntu. Some say it's one of the top Linux options out there. It's easy to use, you...