react

The library for web and native user interfaces.

190 articles 243k View on GitHub ↗
190 articles
How to Make Textarea Rows and Columns Responsive in React

Learn how to make React textarea rows and columns responsive. Discover CSS and JavaScript techniques to ensure your textarea adapts to content and containers.

how-to-guide
Feb 21, 2026
When to Use useMutation in React Query for Server-Side Mutations

Learn when to use React Query's useMutation for server-side mutations. Optimize your app with optimistic UI, cache invalidation, and error handling for POST, PUT, PATCH, DELETE requests.

deep-dive
Feb 21, 2026
Why Keys in React Are Critical for List Performance and State Preservation

Learn why React keys are critical for list performance and state preservation. Discover how keys stabilize identity, optimize re-renders, and minimize DOM mutations for efficient UI updates.

deep-dive
Feb 21, 2026
What Happens During Mounting in React: A Deep Dive into the Source Code

Explore React mounting in detail. Discover how the reconciler builds Fibers, runs lifecycle methods, creates the DOM, and commits side-effects like componentDidMount and useEffect.

deep-dive
Feb 21, 2026
How to Build a Robust React Native Image Resizer for Various Screen Sizes

Build a robust React Native image resizer using Image component, useWindowDimensions, resizeMode, and Image.getSize for responsive scaling and aspect ratio control across devices.

best-practices
Feb 21, 2026
How to Implement a React onClick Event Handler on Custom Components for Child Element Clicks

Learn how to implement a React onClick handler on custom components. Capture child element clicks easily with React's event system without manual DOM listeners.

how-to-guide
Feb 21, 2026
How to Prevent Prop Overriding with React Spread Props

Learn how to prevent prop overriding with React spread props. Place props after the spread operator or destructure them to maintain control over specific values.

how-to-guide
Feb 21, 2026
State Lifting in React: Best Practices to Avoid Prop Drilling

Master state lifting in React with Context API and custom hooks. Learn best practices to effectively manage state and eliminate excessive prop drilling for cleaner components.

best-practices
Feb 21, 2026
React Fetch Example: How to Use the Fetch API to Update Component State

Learn how to use the fetch API in React with a clear example. Update component state after fetching external data using useEffect and useState for dynamic UIs.

how-to-guide
Feb 21, 2026
What Is a Slice in Redux? Simplifying State Management with Redux Toolkit

Understand what a slice is in Redux and how Redux Toolkit simplifies state management. Discover the createSlice API for less boilerplate and efficient app development.

deep-dive
Feb 21, 2026
Essential React Best Practices for Large Codebases: 10 Patterns from the Core Team

Discover essential React best practices for large codebases. Learn 10 core patterns for scalable, high-performance applications with React 18 and TypeScript.

best-practices
Feb 21, 2026
React Installation Guide: 7 Steps to Set Up a New Project

Complete a successful React installation in 7 steps. Learn to initialize a Node.js project, install dependencies, configure build tools, and bootstrap your app with createRoot.

getting-started
Feb 21, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →