# react-element-container
**Repository Path**: mirrors_Jam3/react-element-container
## Basic Information
- **Project Name**: react-element-container
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-11-23
- **Last Updated**: 2026-03-08
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# react-element-container
[](http://github.com/badges/stability-badges)
Put a native DOM element in your React render tree and easily break out back into vanilla DOM.
React's virtual DOM works very well for a lot of use cases, but not all. Creating and holding onto a canvas is never straightforward, and running a frequently updating render function, e.g. to update a chart, becomes slow due to the overhead of diffing the tree. The latter case *can* be optimised but you need to be familiar with React and its performance characteristics to do it well. Sometimes it's easier just working directly with the DOM.
## Installation
``` bash
npm install --save react react-dom react-element-container
```
`react` and `react-dom` are included as peer dependencies to avoid duplicate versions of React, and as such must be installed in your project alongside `react-element-container`.
## Usage
[](https://www.npmjs.com/package/react-element-container)
`
Normal React things