Copperjs Docs
An faster and simpler alternative to react js. copperjs enables developer to build UI and manage states seamlessly.

Install copperjs

1
npm i copperjs
Copied!

Getting Started

let's write 'Hello World':
1
import Copper, { createElement, Component } from 'Copper'
2
​
3
class HelloWorld extends Component {
4
render() {
5
return <div style={{ color: 'red' }}>Hello World</div>
6
}
7
}
8
​
9
Copper.render(<HelloWorld/>, document.getElementById("root"))
Copied!
Last modified 1yr ago
Copy link