react-clonewithprops

WebJar for react-clonewithprops

License

License

MIT
Categories

Categories

React User Interface Web Frameworks
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

react-clonewithprops
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

react-clonewithprops
WebJar for react-clonewithprops
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jquense/react-clonewithprops

Download react-clonewithprops

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/react-clonewithprops/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>react-clonewithprops</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/react-clonewithprops/
implementation 'org.webjars.npm:react-clonewithprops:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/react-clonewithprops/
implementation ("org.webjars.npm:react-clonewithprops:1.0.1")
'org.webjars.npm:react-clonewithprops:jar:1.0.1'
<dependency org="org.webjars.npm" name="react-clonewithprops" rev="1.0.1">
  <artifact name="react-clonewithprops" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='react-clonewithprops', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "react-clonewithprops" % "1.0.1"
[org.webjars.npm/react-clonewithprops "1.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Clone With Props

Simple stand alone compatibility layer for the CloneWithProps util in React. Does not use any internal React methods, files, or functions

This is tested with React 0.9 to 0.12, and adds a trivial amount of code to get everything to work.

var cloneWithProps = require('react-clonewithprops')

cloneWithProps(<MyComponent oldProp='hi'/> { newProp: 'hello' })

Versions

Version
1.0.1