0.11.1 • Published 7 years ago

reas v0.11.1

Weekly downloads
9
License
MIT
Repository
github
Last release
7 years ago

reas

Minimalist and highly composable building blocks built on top of React and styled-components.

Install

Yarn:

yarn add reas

npm:

npm install --save reas

Example

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.

Libraryops/sec
react103,029
reas (as)45,975
antd29,122
reas (Base)17,071
reas (Button)12,107
material-ui9,840
rebass7,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

7 years ago

0.10.1

7 years ago

0.10.0

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.9.0

7 years ago

0.8.3

7 years ago

0.8.2

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.0

7 years ago

0.6.0

7 years ago

0.5.0

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago