Skip to content

Commit

Permalink
chore(react): now using react@16.7.0-alpha.0
Browse files Browse the repository at this point in the history
Still building `react-cache` and `scheduler` from sources.

Installing `react` and `react-dom` from npm using the 16.7.0-alpha.0

That way:

- we still can do suspense / data fetching using react-cache
- we'll also be able to start playing with hooks 🤟
  • Loading branch information
topheman committed Oct 26, 2018
1 parent a290aff commit 356b3a5
Show file tree
Hide file tree
Showing 25 changed files with 45 additions and 21,540 deletions.
26 changes: 18 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"classnames": "^2.2.6",
"loadable-components": "^2.2.3",
"prop-types": "^15.6.2",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react": "^16.7.0-alpha.0",
"react-dom": "^16.7.0-alpha.0",
"react-scripts": "1.1.5",
"recompose": "^0.30.0",
"route-parser": "0.0.5"
Expand Down
10 changes: 9 additions & 1 deletion react-modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Build the packages:
```shell
cd /path/to/react
yarn
yarn build dom-client,core,react-cache,scheduler --type=NODE
yarn build react-cache,scheduler --type=NODE
```

### Copy the packages to your project
Expand All @@ -29,3 +29,11 @@ cp -a /path/to/react/build/node_modules/* /path/to/react-fiber-experiments/react
The modules in `react-modules` are aliased, thanks to `react-app-rewired` with which I overrode `config.resolve`.

Please update the [`infos.json`](./infos.json) file with the exact hash of the git revision you used to make your React custom build.

In the current version, we use `react@16.7.0-alpha.0` and `react-dom@16.7.0-alpha.0` (installed from npm, not built from React sources).

If you need to also build `react` and `react-dom` packages, run:

```
yarn build dom-client,core,react-cache,scheduler --type=NODE
```
21 changes: 0 additions & 21 deletions react-modules/react-dom/LICENSE

This file was deleted.

54 changes: 0 additions & 54 deletions react-modules/react-dom/README.md

This file was deleted.

0 comments on commit 356b3a5

Please sign in to comment.