Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit db6f24c

Browse files
committed
finish example
0 parents  commit db6f24c

File tree

14 files changed

+10581
-0
lines changed

14 files changed

+10581
-0
lines changed

.flowconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[ignore]
2+
3+
[include]
4+
5+
[libs]
6+
7+
decls
8+
9+
[lints]
10+
11+
[options]

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
6+
# testing
7+
/coverage
8+
9+
# production
10+
/build
11+
12+
# misc
13+
.DS_Store
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# React Flow Example
2+
3+
* Found in [The Road to learn React](https://roadtoreact.com/)
4+
5+
## Features
6+
7+
* uses:
8+
* React (create-react-app)
9+
* Flow
10+
11+
## Installation
12+
13+
* `git clone git@github.com:rwieruch/react-flow-example.git`
14+
* `cd react-flow-example`
15+
* `npm install`
16+
* `npm start`
17+
* visit http://localhost:3000/
18+
* `npm run flow` to type check all // @flow files

decls/types.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
type ArticlesEntity = Array<ArticleEntity>;
2+
3+
type ArticleEntity = {
4+
id: string,
5+
title: string,
6+
url: string,
7+
};

0 commit comments

Comments
 (0)