# @hot-loader/react-dom

> The Hot version of React-DOM

Latest version **17.0.2** (published 2022-01-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @hot-loader/react-dom
pnpm add @hot-loader/react-dom
yarn add @hot-loader/react-dom
bun add @hot-loader/react-dom
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 17.0.2 |
| Published | 2022-01-18 |
| First published | 2018-11-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 110 |
| Maintainers | kashey |
| Keywords | HMR, react, hot-loader |

## Links

- npm: https://www.npmjs.com/package/@hot-loader/react-dom
- Repository: https://github.com/hot-loader/react-dom
- Homepage: https://github.com/hot-loader/react-dom#readme
- Issues: https://github.com/hot-loader/react-dom/issues
- npm.io page: https://npm.io/package/@hot-loader/react-dom

## Dependencies (3)

- [scheduler](https://npm.io/package/scheduler.md) ^0.20.2
- [loose-envify](https://npm.io/package/loose-envify.md) ^1.1.0
- [object-assign](https://npm.io/package/object-assign.md) ^4.1.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 17.0.2 (latest) — 2022-01-18
- 16.9.0-alpha.0 (alpha) — 2019-06-24
- 17.0.1 — 2020-12-03
- 17.0.0 — 2020-10-21
- 16.14.0 — 2020-10-21
- 17.0.0-rc.2 — 2020-09-22
- 16.13.0 — 2020-03-14
- 16.12.0 — 2020-02-26
- 16.11.0 — 2019-11-06
- 16.10.2 — 2019-10-08
- 16.9.0 — 2019-08-14
- 16.9.0-4.12.11 — 2019-08-12
- 16.8.6 — 2019-03-28
- 16.8.5 — 2019-03-25
- 16.8.4 — 2019-03-07
- … 10 more at https://npm.io/package/@hot-loader/react-dom/versions

## README

# `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`

---
_Source: https://npm.io/package/@hot-loader/react-dom · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
