React: Components, State & Hooks – quiz with 15 questions

How React interfaces are built: components and props, JSX rules, useState and immutable updates, lists with key, useEffect with cleanup, and context against prop drilling.

Questions
15
Level
Beginner
Area
Programming & data · Web

Modules

Sample question

Was ist eine React-Komponente im heutigen Stil?

  • Ein HTML-Template, das auf dem Server vorgerendert und ausgeliefert wird
  • Eine Funktion, die JSX zurückgibt
  • Eine Tabelle in der Datenbank, die Oberflächenelemente beschreibt
  • Eine CSS-Datei, die Klassen für Layout und Farben bereitstellt

Correct: Eine Funktion, die JSX zurückgibt. Funktionskomponenten mit Hooks sind seit React 16.8 der Standard. Klassenkomponenten funktionieren noch, werden aber kaum mehr neu geschrieben.

More questions from the quiz

  • Wie gibt eine Elternkomponente Daten an eine Kindkomponente weiter?
  • Warum schreibt man in JSX className statt class?
  • Darf eine Kindkomponente ihre Props direkt verändern?
  • Wie zeigt man in JSX einen Hinweis nur bei leerem Warenkorb an?
  • Was liefert const [anzahl, setAnzahl] = useState(0)?

The questions and explanations are in German – checked by experts, not machine-translated.

After every answer, Quizbot explains why it is right or wrong. Open questions come first, and progress is counted per topic. The quiz is free of charge; no account is needed.

As of 15.11.2026 · All quizzes

Quizbot – a project by AI SYSTEM, St. Gallen · Home