InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 3109–3120 of 3610 questions

React & TypeScriptBeginner1 min read

What is one-way data flow?

Data generally flows from parent to child through props; children communicate changes using callbacks supplied by parents.

React & TypeScriptBeginner1 min read

What is a React portal?

A portal renders children into a DOM node outside the parent DOM hierarchy while preserving React context and event propagation.

React & TypeScriptBeginner1 min read

What is a ref?

A ref stores a mutable value across renders without causing a re-render when changed.