# FAQ

### The name "React Native for web" is scary

A universal issue with React Native for web is the name. If you're familiar with **ReactDOM** you may know that the **JSX** elements `div`, `span`, `img` aren't actually **HTML**, rather a set of components that bind to DOM elements. At its core RNWeb is just a set of primitives that bind components like `View`, `Image`, or `Text` to DOM elements like `div`, `img`, and `span`. These primitives provide the foundation for creating universal applications.&#x20;

### What kinda websites does this build?

When you bundle a React Native for web project with Webpack (or `expo build:web`) you are creating a static react website that can be hosted anywhere. Generally because you made a universal application, your final product will come out feeling more like a web *app* then a traditional website. This is because you'll more than likely be using complex native APIs like Camera, ImagePicker, Gesture Handler, or MapView in the browser.

### Should I use Expo or React Native for web?

Expo provides a set of tools for building high-quality applications (with React Native). The goal of Expo for web is to create a seamless experience when building on whatever platform you have available. Expo provides universal bindings for things like Camera, Location, Gestures that work together on whatever platform Expo supports. Expo also smooths over a lot of the issues regarding bundling your app and ensuring it works the same in Webpack (React) and Metro (React Native).


---

# 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://baconbrix.gitbook.io/react-native-web/faq.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.
