# React

{% embed url="<https://reactjs.org/>" %}

{% embed url="<https://www.youtube.com/watch?v=Tn6-PIqc4UM>" %}

{% embed url="<https://create-react-app.dev/>" %}

## JSX

* JSX stands for JavaScript XML.
* It allows writing HTML in JavaScript and converts the HTML tags into React elements.
* Capitalized types indicate that the JSX tag is referring to a React component. \
  These tags get compiled into a direct reference to the named variable, so if you use the JSX `<Foo />` expression, `Foo` must be in scope.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dailyjournal.gitbook.io/notes/languages/javascript/libraries/react.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
