Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reshow-build

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reshow-build

React super cloneElement and createElement

  • 0.17.23
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
increased by240.5%
Maintainers
1
Weekly downloads
 
Created
Source

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

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

Keywords

FAQs

Package last updated on 27 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc