# reshow-build

> React super cloneElement and createElement

Latest version **1.19.2** (published 2026-05-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install reshow-build
pnpm add reshow-build
yarn add reshow-build
bun add reshow-build
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.19.2 |
| Published | 2026-05-20 |
| First published | 2020-01-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 45.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Hill |
| Maintainers | hillliu |
| Keywords | reactjs, cloneElement, createElement |

## Links

- npm: https://www.npmjs.com/package/reshow-build
- Repository: https://github.com/react-atomic/reshow
- Homepage: https://github.com/react-atomic/reshow/tree/main/packages/reshow-build
- Issues: https://github.com/react-atomic/reshow/issues
- npm.io page: https://npm.io/package/reshow-build

## Dependencies (2)

- [array.merge](https://npm.io/package/array.merge.md) *
- [reshow-constant](https://npm.io/package/reshow-constant.md) *

## Recent versions

- 1.19.2 (latest) — 2026-05-20
- 0.17.0 (next) — 2022-04-02
- 1.19.1 — 2026-05-20
- 1.19.0 — 2026-05-20
- 1.3.2 — 2025-04-05
- 1.3.1 — 2024-07-28
- 1.3.0 — 2024-07-28
- 1.2.0 — 2024-06-22
- 1.1.0 — 2024-06-18
- 1.0.1 — 2024-03-04
- 1.0.0 — 2024-02-27
- 0.17.26 — 2023-10-30
- 0.17.25 — 2023-10-27
- 0.17.24 — 2023-10-21
- 0.17.23 — 2023-07-27
- … 34 more at https://npm.io/package/reshow-build/versions

## README

# `Reshow Build`

> 
> React cloneElement and createElement alternaive.
>  
> To help u build anything. 
>

* GIT
   * https://github.com/react-atomic/reshow/tree/main/packages/reshow-build
* NPM
   * https://www.npmjs.com/package/reshow-build

## Usage

### Build without instance

```js
import build from "reshow-build";
import YourComponent from "./YourComponent";

const Comp = props => 
 build(YourComponent)(props, children /* optioninal*/ )
```

### Build with instance

```js
import build from "reshow-build";
import YourComponent from "./YourComponent";

const Comp = props => 
 build(<YourComponent />)(props, children /* optioninal*/ )
```

### Build with array
```js
import build from "reshow-build";
import YourComponent from "./YourComponent";

const Comp = props => 
 build([
    <YourComponent />,
    YourComponent,
    () => <YourComponent />,
    'div',
    'just string'
 ])(props, children /* optioninal*/ )
``` 

## More examples
[Examples](https://github.com/react-atomic/reshow/tree/main/packages/reshow-build/src/__tests__)

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