-
Using Context API with Custom Hooks
Previously I shared a post about How Context API fits into Component-driven architecture and shared a small glance of using Context API with a custom hook. This post dives deep into that specific part of the previous entry, this way you can have a broader understanding of the flexibility React offers when using two of…
-
Building a Custom Hook for Form Handling in React
Managing forms in React can often lead to repetitive code, especially when handling input validation, state management, and submission logic. Creating a custom hook for form handling can encapsulate this logic, making your code cleaner, more reusable, and easier to maintain. In this post, we’ll walk through building a custom hook for form management. Alonso…
-
How Context API Fits into Component-driven Architectures in React.js
React’s Context API is often introduced as a solution for managing global state without the complexity of third-party libraries like Redux. While it is typically associated with simple state management needs, the Context API plays an important role in component-driven architectures, helping create flexible and scalable UI systems. In this post, we will explore how…
-
Architectural Decisions for Scalable React.js Applications
Building a scalable React.js application is not just about writing code that works today but about crafting a foundation that will support future growth and complexity. To ensure long-term success, developers need to make key architectural decisions from the start. These decisions affect performance, maintainability, scalability, and developer productivity. So, let’s see some of the…