[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]cjs/2023-06-08 14:13 -  
[DIR]umd/2023-06-08 14:13 -  
[   ]LICENSE1985-10-26 08:15 1.1K0fb859dc fixed mobile overflwo options [كارل مبارك]
[TXT]README.md1985-10-26 08:15 904 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]build-info.json1985-10-26 08:15 168  
[   ]index.js1985-10-26 08:15 1.3K 
[   ]package.json2023-06-08 14:14 2.2K 
[   ]profiling.js1985-10-26 08:15 1.3K 
[   ]server.browser.js1985-10-26 08:15 228  
[   ]server.js1985-10-26 08:15 58  
[   ]server.node.js1985-10-26 08:15 222  
[   ]test-utils.js1985-10-26 08:15 220  
[   ]unstable-fizz.browser.js1985-10-26 08:15 242  
[   ]unstable-fizz.js1985-10-26 08:15 65  
[   ]unstable-fizz.node.js1985-10-26 08:15 236  
[   ]unstable-native-dependencies.js1985-10-26 08:15 256 0fb859dc fixed mobile overflwo options [كارل مبارك]
# `react-dom`

This package serves as the entry point to the DOM and server renderers for React. It is intended to be paired with the generic React package, which is shipped as `react` to npm.

## Installation

```sh
npm install react react-dom
```

## Usage

### In the browser

```js
var React = require('react');
var ReactDOM = require('react-dom');

class MyComponent extends React.Component {
  render() {
    return <div>Hello World</div>;
  }
}

ReactDOM.render(<MyComponent />, node);
```

### On the server

```js
var React = require('react');
var ReactDOMServer = require('react-dom/server');

class MyComponent extends React.Component {
  render() {
    return <div>Hello World</div>;
  }
}

ReactDOMServer.renderToString(<MyComponent />);
```

## API

### `react-dom`

- `findDOMNode`
- `render`
- `unmountComponentAtNode`

### `react-dom/server`

- `renderToString`
- `renderToStaticMarkup`