Higher-Order Components (HOCs) in React
In React, code reuse and separation of concerns are essential for building scalable and maintainable applications. One powerful pattern for achieving this is Higher-Order Components (HOCs). This guide will explore how HOCs solve common issues in React applications, compare them to modern alternatives like hooks, and help you understand when to use each pattern.
By Em Ha Tuan
10/13/2024
The Compound Component Pattern in React
When building complex UIs in React, you often encounter situations where a parent component needs to manage the state, while its children (subcomponents) need to communicate with each other and the parent in a seamless, flexible way. A great solution fo this is the Compound Component Pattern.
Integrating Google Analytics in Next.js with @next/third-parties/google
Integrating Google Analytics into your Next.js application with the @next/third-parties/google package makes it easy to track page views and custom events.
9/10/2024
Integrating Google Tag Manager in Next.js with @next/third-parties/google
Integrating Google Tag Manager into a Next.js application is straightforward, and it allows you to manage tags dynamically and efficiently.
How to Deploy Express.js to Vercel
Deploying an Express.js application to Vercel is a straightforward process that allows you to get your application live quickly. In this article, we’ll walk through the steps required to deploy a simple Express.js application to Vercel.
8/24/2024
JavaScript - from Scripting to Object-oriented Programming Language.
A scripting language is a type of programming language that is often interpreted and executed at runtime rather than being compiled into machine code before runtime.
8/21/2024
I’m a dedicated and self-motivated Software Engineer with a passion for cutting-edge technologies. Over the past six years, starting at the age of 18, I have honed my skills through self-directed learning and professional experience in the industry.
Home
About me
My blogs