⚛

ری‌اکت

هوک‌ها، reconciliation و معماری کامپوننت.

۲۰ مطلب

ری‌اکت

React Hooks: Top Interview Questions

useState, useEffect, useMemo, useCallback, useRef — rules and real-world answers.

۲ بهمن ۱۴۰۴·۱۰ دقیقه مطالعه
ری‌اکت

Virtual DOM & Reconciliation

How React updates the UI efficiently — diffing algorithm and keys explained.

۲۹ دی ۱۴۰۴·۷ دقیقه مطالعه
ری‌اکت

State Management: When to Use What

Local state, Context, Zustand, Redux — pick the right tool and explain why.

۲۷ دی ۱۴۰۴·۸ دقیقه مطالعه
ری‌اکت

React Testing Library: Interview Essentials

Test behavior not implementation — queries, user events, and async patterns.

۲۲ آبان ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

Code Splitting & React.lazy in Interviews

Reduce initial bundle size with dynamic imports and Suspense boundaries.

۱۷ آبان ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

Refs & forwardRef: Interview Deep Dive

Access DOM nodes, imperative handles, and ref forwarding in reusable components.

۱۲ آبان ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

React Strict Mode: Why Double Rendering Happens

Development-only behaviors that expose side effects and prepare you for concurrent React.

۷ آبان ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

useEffect Cleanup Patterns Interview Guide

Subscriptions, timers, fetch abort, and avoiding memory leaks in effects.

۲ آبان ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

Lifting State & Component Composition

Share state between siblings, compose with children props, and avoid prop drilling.

۲۷ مهر ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

Lists, Keys & Reconciliation Performance

Stable keys, anti-patterns with index keys, and list virtualization basics.

۲۲ مهر ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

React Forms & Validation: Interview Topics

Client validation, schema libraries, and accessible error messaging patterns.

۱۷ مهر ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

Custom Hooks: Design Patterns for Interviews

Extract reusable stateful logic — fetch, media queries, localStorage, and form helpers.

۱۲ مهر ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

React Suspense & Concurrent Features

Declarative loading states, transitions, and how React 18+ prioritizes updates.

۷ مهر ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

React.memo, useMemo & useCallback in Interviews

When memoization helps, when it hurts, and how to answer 'how do you optimize React?'

۲ مهر ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

React Context API: Patterns & Pitfalls

Share data without prop drilling — and avoid the re-render storms Context can cause.

۲۸ شهریور ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

React Error Boundaries: Interview Guide

Catch render errors, show fallback UI, and know what error boundaries cannot catch.

۲۳ شهریور ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

React Portals: Modals, Tooltips & Interview Use Cases

Render children into a different DOM node while preserving React tree context and events.

۱۸ شهریور ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

Controlled vs Uncontrolled Components

Who owns form state — React or the DOM? A fundamental pattern for forms and file inputs.

۱۳ شهریور ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

How JSX Works: Interview Explanation

JSX is syntactic sugar — explain what Babel compiles it to and why React needs a single root.

۸ شهریور ۱۴۰۴·۵ دقیقه مطالعه
ری‌اکت

React Class Lifecycle: Still Asked in Interviews

Mounting, updating, unmounting phases — and how they map to hooks in modern React.

۳ شهریور ۱۴۰۴·۵ دقیقه مطالعه