0.11.1 • Published 7 years ago
reas v0.11.1
reas
Minimalist and highly composable building blocks built on top of React and styled-components.
Install
Yarn:
yarn add reasnpm:
npm install --save reasExample
import React from "react";
import { render } from "react-dom";
import { Button, Popover } from "reas";
const App = () => (
<Popover.Container>
{popover => (
<Button as={Popover.Toggle} {...popover}>
Button
<Popover {...popover}>
<Popover.Arrow />
Popover
</Popover>
</Button>
)}
</Popover.Container>
);
render(<App />, document.getElementById("root"));Performance
Benchmark done using react-benchmark with MacBook Pro (Retina, 13-inch, Late 2013). Clone the repository and run yarn && yarn benchmark to see the results.
| Library | ops/sec |
|---|---|
| react | 103,029 |
reas (as) | 45,975 |
| antd | 29,122 |
reas (Base) | 17,071 |
reas (Button) | 12,107 |
| material-ui | 9,840 |
| rebass | 7,989 |
License
MIT © Diego Haz
0.11.1
7 years ago
0.11.0
7 years ago
0.10.4
7 years ago
0.10.3
7 years ago
0.10.2
8 years ago
0.10.1
8 years ago
0.10.0
8 years ago
0.9.2
8 years ago
0.9.1
8 years ago
0.9.0
8 years ago
0.8.3
8 years ago
0.8.2
8 years ago
0.8.1
8 years ago
0.8.0
8 years ago
0.7.0
8 years ago
0.6.0
8 years ago
0.5.0
8 years ago
0.4.1
8 years ago
0.4.0
8 years ago
0.3.1
8 years ago
0.3.0
8 years ago
0.2.1
8 years ago
0.2.0
8 years ago
0.1.0
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago