What is JSX in React?
Hi, in this post we are going to talk about JXS, so what is JSX? It’s fairly simple HTML-like syntactic sugar on top of the raw React APIs:
This means that if we have this JSX then at the end will be compiled to JS:
For example: class becomes className in JSX, and tabindex becomes tabIndex.
By Cristina Rojas.