1.0.1 • Published 2 months ago

reshow-build v1.0.1

Weekly downloads
191
License
ISC
Repository
github
Last release
2 months ago

Reshow Build

React cloneElement and createElement alternaive.

To help u build anything.

Usage

Build without instance

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

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

Build with instance

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

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

Build with array

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

1.0.1

2 months ago

1.0.0

2 months ago

0.17.25

6 months ago

0.17.24

7 months ago

0.17.26

6 months ago

0.17.23

10 months ago

0.17.22

10 months ago

0.17.21

1 year ago

0.17.20

1 year ago

0.17.18

1 year ago

0.17.17

1 year ago

0.17.19

1 year ago

0.17.16

2 years ago

0.17.12

2 years ago

0.17.14

2 years ago

0.17.13

2 years ago

0.17.15

2 years ago

0.17.10

2 years ago

0.17.11

2 years ago

0.17.5

2 years ago

0.17.6

2 years ago

0.17.7

2 years ago

0.17.8

2 years ago

0.17.9

2 years ago

0.17.2

2 years ago

0.17.3

2 years ago

0.17.4

2 years ago

0.17.0

2 years ago

0.17.1

2 years ago

0.16.3

2 years ago

0.16.4

2 years ago

0.15.0

2 years ago

0.16.0

2 years ago

0.16.1

2 years ago

0.16.2

2 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago