BTI Beyond The Interviews

Frontend & Mobile · 12 sections

React (incl. Hooks)

Components, hooks, state, the rendering model and React 19 / Server Components — the full React interview surface in one sheet.

Premium · preview 148 cards Updated 24 Oct 2026
Free to preview. The first 3 cards and the full outline are below — the rest of this sheet is part of the Frontend & Mobile bundle.

What's inside

Preview — first 3 of 148 cards

What is a functional component?

A JavaScript function that accepts props and returns JSX. The modern default in React; hooks provide state and lifecycle. Prefer over class components.

function Greeting({ name }) {
  return <h1>Hello, {name}</h1>;
}

Class vs functional components?

Class components use lifecycle methods and `this`; functional components use hooks. Functional is preferred for simplicity, hooks composition, and because new features are hooks-only. Class components still work but are legacy.

class C extends React.Component {
  render() { return <div>{this.props.x}</div>; }
}

What is JSX?

Syntactic sugar for `React.createElement`. Expressions go in `{}`. Use `className`, `htmlFor`; attributes camelCase. Must return a single root or Fragment.

const el = <div className="box">{value}</div>;

145 more cards in this sheet

Unlock the Frontend & Mobile bundle — ₹399

One-time payment. Unlocks this sheet and 8 other sheets in the bundle, plus a typeset PDF of each.

Unlock the bundle See all bundles

Or get all 76 sheets for ₹999 — one payment, every future sheet included.