concept JSX in category graphql

appears as: JSX
Fullstack GraphQL Applications With GRANDstack

This is an excerpt from Manning's book Fullstack GraphQL Applications With GRANDstack.

1.2.2  JSX

React is typically used with a JavaScript language extension called JSX. JSX looks similar to XML and is a powerful way of building user interfaces in React and composing React components. It is possible to use React without JSX, but most users prefer the readability and maintainability that JSX offers. We will introduce JSX in Chapter 5.

Listing 5.1. A simple React element defined with JSX
language="jsx" linenumbering="unnumbered">const element = <h1>Welcome to GRANDstack</h1>;