1.3.1 • Published 11 months ago
reshow-build v1.3.1
Reshow Build
React cloneElement and createElement alternaive.
To help u build anything.
- GIT
- NPM
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
1.2.0
12 months ago
1.1.0
12 months ago
1.3.1
11 months ago
1.3.0
11 months ago
1.0.1
1 year ago
1.0.0
1 year ago
0.17.25
2 years ago
0.17.24
2 years ago
0.17.26
2 years ago
0.17.23
2 years ago
0.17.22
2 years ago
0.17.21
2 years ago
0.17.20
2 years ago
0.17.18
2 years ago
0.17.17
2 years ago
0.17.19
2 years ago
0.17.16
3 years ago
0.17.12
3 years ago
0.17.14
3 years ago
0.17.13
3 years ago
0.17.15
3 years ago
0.17.10
3 years ago
0.17.11
3 years ago
0.17.5
3 years ago
0.17.6
3 years ago
0.17.7
3 years ago
0.17.8
3 years ago
0.17.9
3 years ago
0.17.2
3 years ago
0.17.3
3 years ago
0.17.4
3 years ago
0.17.0
3 years ago
0.17.1
3 years ago
0.16.3
3 years ago
0.16.4
3 years ago
0.15.0
3 years ago
0.16.0
3 years ago
0.16.1
3 years ago
0.16.2
3 years ago
0.2.2
4 years ago
0.2.1
4 years ago
0.2.0
5 years ago
0.1.0
5 years ago
0.0.1
5 years ago
0.0.0
5 years ago