copperjs
v1.0.1
Published
copperjs is a JavaScript library for creating user interfaces.
Downloads
65
Readme
Copper
An faster and simpler alternative to react js. copperjs enables developer to build UI and manage states seamlessly.
Install
npm install Copperjs --save
Getting Started
let's write 'Hello World':
1. npm install Copperjs --save
2. write your code like React
import Copper, { createElement, Component } from 'Copper'
class HelloWorld extends Component {
render() {
return <div style={{ color: 'red' }}>Hello World</div>
}
}
Copper.render(<HelloWorld/>, document.getElementById("root"))