# react-es6

> ES6/ESM versions of React libraries via importmap

Latest version **1.0.2** (published 2024-07-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-es6
pnpm add react-es6
yarn add react-es6
bun add react-es6
```

## 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 | 1.0.2 |
| Published | 2024-07-15 |
| First published | 2023-08-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Hermann Rolfes |
| Maintainers | kungfooman |

## Links

- npm: https://www.npmjs.com/package/react-es6
- npm.io page: https://npm.io/package/react-es6

## Recent versions

- 1.0.2 (latest) — 2024-07-15
- 1.0.1 — 2024-07-15
- 1.0.0 — 2023-08-13

## README

# What is this?

This repository ships these ESM-consumable files, which can be used without needing any annoying build-tool:

    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-router-dom": "^5.2.0",

# Installation

`npm i react-es6@1.0.2`

# Example script

**example.js**

```js
import {createElement} from 'react';
import React from 'react';
import ReactDOM from 'react-dom/client';
const div = document.createElement('div');
document.body.append(div);
ReactDOM.createRoot(div).render(createElement(
  React.StrictMode,
  null,
  createElement(
    "div",
    null,
    "Hai!",
  ),
));
```

Then just a `importmap.js` and a HTML file including this script and you are ready to use React without stones in your way.

Full example: [./example/](https://github.com/kungfooman/react-es6/tree/master/example)

# 65wat

The only reason this repository exists is because React doesn't ship them... what are they paid for?!

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