Flashcards › Math & Programming
Math & Programming

Free React Basics Flashcards

React's core is small: components, props, state, and a render cycle. Interviews and tutorials alike drill the same fundamentals — these cards are that exact set.

Study these 10 starter cards

QUESTION
Tap the card to reveal the answer
QWhat is a React component?
AA function that takes props and returns JSX describing UI
QWhat is JSX?
AJavaScript syntax extension that looks like HTML and compiles to element calls
QWhat are props?
ARead-only inputs a parent passes into a component
QWhat does useState return?
AA pair: the current value and a setter function
QWhen does a component re-render?
AWhen its state changes or its parent re-renders with new props
QWhat is useEffect for?
ARunning side effects after render — fetching, subscriptions, timers
QWhy do list items need a "key" prop?
ASo React can match items across renders and update efficiently
QWhat is "lifting state up"?
AMoving shared state to the closest common parent of the components that need it
QWhat is the virtual DOM?
AReact's in-memory tree it diffs against to apply minimal real-DOM updates
QWhat rule governs where hooks can be called?
AOnly at the top level of components (or custom hooks) — never in loops or conditions

Turn these into lasting memory

Reading answers is recognition — remembering them next month takes spaced repetition. Build your own react basics deck and we'll schedule every review at the right moment.

Create your free deck →

How to study react basics with flashcards

Related flashcard topics

TypeScript BasicsRegex BasicsComputer Science TermsExcel Shortcuts & FunctionsMultiplication TablesAlgebra Basics

Your first deck is free forever

No ads, no credit card — import from Anki or Quizlet, or start from these cards.

Start studying free →