رفتن به محتوای اصلی

نوشته‌ها

یادداشت‌هایی از مسئله‌هایی که در توسعه و نگهداری محصول با آن‌ها روبه‌رو می‌شوم. مقاله‌ها فعلاً به انگلیسی هستند.

منتخب

Sep 24, 2026

•

Engineering note

Choosing a single source of truth in React

Featured

Separate server facts, user choices, and derived values to avoid inconsistent interface state.

ReactStateArchitecture+1

Sep 24, 2026

•

Engineering note

Where to put the client boundary in Next.js

Featured

Place client components around interactivity while keeping data ownership and browser JavaScript in view.

Next.jsReactPerformance+1
Featured

Use Adapter and Strategy where behavior needs to vary, without adding unnecessary layers.

Design PatternsArchitectureTypeScript+1
Featured

Choose a useful first scope, keep the main workflows clear, and prepare for changes after launch.

Next.jsProductArchitecture+1

Feb 08, 2026

•

Engineering note

Rendering, metadata, and SEO in Next.js

Featured

Check that rendered content, page titles, canonical URLs, and language variants describe the same page.

Next.jsSEOArchitecture
Featured

Clear ownership and data flow help a team make changes while a product is in use.

ArchitectureDXProduction

همه نوشته‌ها

Sep 24, 2026

•

Engineering note

Making production errors easier to investigate

Connect a failed action to a request ID and useful context, while keeping sensitive data out of logs.

Software EngineeringObservabilityReliability+1

Use stable action identifiers and database constraints to handle retries without repeating a write.

Software EngineeringReliabilityAPI Design+1

Sep 24, 2026

•

Engineering note

Recovering from failed optimistic updates

Choose suitable actions for optimistic feedback and plan what happens when the server rejects a change.

ReactUXReliability+1

Sep 24, 2026

•

Engineering note

Loading, empty, and error states in React

Show what is happening during a request and give users a clear next step when it finishes or fails.

ReactUXProduct+1

Sep 24, 2026

•

Engineering note

Choosing cache freshness in Next.js

Define how current each page’s data needs to be, then choose caching and invalidation rules to match.

Next.jsCachingReliability+1

Feb 16, 2026

•

Engineering note

Keeping admin dashboards usable as they grow

Organize internal tools around daily workflows, with clear actions and enough context to investigate problems.

OperationsArchitectureDX+1

Feb 15, 2026

•

Engineering note

Building a support chat users can follow

Message history, read states, and response expectations that help users and support teams follow a conversation.

Next.jsProductOperations+1

Ask for the context you need, make optional questions clear, and keep each request easy to follow.

Next.jsProductOperations+1

Feb 08, 2026

•

Engineering note

Reducing repetitive work in admin tools

Find repeated tasks, reuse the information a team already has, and keep the result easy to check.

ProductOperationsUX