All jobs / Frontend / web developer / React

Frontend / web developer interview question · 0–1 years

What is JSX, and what does the browser actually receive?

The strongest answer

A syntax for describing UI that compiles to function calls creating element objects; the browser never sees JSX — a build step turns it into plain JavaScript

Why it works

Right. Sugar over createElement; the compiler does the translation.

What a good answer covers

Answers that fall short

Who gets asked this

More React questions