Skip to content
This repository was archived by the owner on Apr 8, 2019. It is now read-only.

Commit de2141a

Browse files
authored
Update README.md
1 parent e82a845 commit de2141a

1 file changed

Lines changed: 3 additions & 22 deletions

File tree

README.md

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -52,31 +52,12 @@ yarn add react react-cli-renderer
5252
npm install --save react react-cli-renderer
5353
```
5454

55-
### How it works
56-
57-
```javascript
58-
const React = require("react");
59-
const ReactCLI = require("react-cli-renderer");
60-
61-
ReactCLI.render(
62-
<div horizontal>
63-
First column
64-
<div>
65-
Second column
66-
<div>
67-
First row
68-
<br />
69-
Second row
70-
</div>
71-
</div>
72-
</div>
73-
);
74-
```
75-
76-
#### About
55+
## About
7756

7857
ReactCLI is analogous to ReactDOM or ReactNative. It just renders any updates dictated by React and the React reconciler to the command line. This means that you get all of the core features of React for free, like stateful components, context, refs, etc - in addition to being able to use third party libraries for things like state management. It also provides a couple core components that are useful for building out command line interfaces.
7958

59+
## Usage
60+
8061
#### Components
8162

8263
ReactCLI provides two components for building command line interfaces.

0 commit comments

Comments
 (0)