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

Commit b737c1c

Browse files
authored
Merge pull request #25 from reactjs/gaearon-patch-1
Add notes for July, 28
2 parents 8ab972e + 4f28535 commit b737c1c

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

2016-07/july-28.md

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
## July 28 ([discuss](https://github.com/reactjs/core-notes/pull/25))
2+
3+
### Attendees
4+
5+
* [Ben](https://twitter.com/soprano) (React)
6+
* [Christopher](https://twitter.com/vjeux) (React)
7+
* [Dan](https://twitter.com/dan_abramov) (React)
8+
* [Keyan](https://twitter.com/keyanzhang) (React, intern)
9+
* [Kevin](https://twitter.com/lacker) (Developer Advocacy)
10+
* [Paul](https://twitter.com/zpao) (React)
11+
* [Sebastian](https://twitter.com/sebmarkbage) (React)
12+
* [Tom](https://twitter.com/tomocchino) (React)
13+
14+
### Individual Updates
15+
16+
#### Ben
17+
18+
* Ran the [`createClass` codemod](https://github.com/reactjs/react-codemod#class) on the Facebook.com codebase.
19+
* ES6 class usage is up from 30% to 80% in it!
20+
* More good news: [Public Class Fields](https://github.com/tc39/proposal-class-public-fields) (aka “Class Properties”) ES proposal has [advanced to Stage 2](https://github.com/tc39/proposals).
21+
22+
#### Paul
23+
24+
* Continued work on the [React release manager](https://github.com/reactjs/core-notes/blob/master/2016-07/july-21.md#react-release-manager).
25+
* Busy reviewing two pull requests: one from [Keyan](https://twitter.com/keyanzhang) and one from [Sebastian](https://twitter.com/sebmarkbage).
26+
* [Keyan](https://twitter.com/keyanzhang)’s pull request [changes React build process to use Rollup](https://github.com/facebook/react/pull/7178).
27+
* [Sebastian](https://twitter.com/sebmarkbage)’s pull request [significantly changes how React packages are bundled internally](https://github.com/facebook/react/pull/7168).
28+
* Unfortunately those changes conflict, and we are going with [Sebastian](https://twitter.com/sebmarkbage)’s pull request first.
29+
* See the section below explaining these changes in more detail.
30+
31+
#### Dan
32+
33+
* Released [Create React App](https://github.com/facebookincubator/create-react-app).
34+
* Lots of positive feedback.
35+
* Working on 0.2.0 that fixes issues with cloud editors and busy ports.
36+
* Missing features for calling it 1.0: testing, [proxying API requests](https://github.com/facebookincubator/create-react-app/blob/master/template/README.md#proxying-api-requests-in-development).
37+
* We merged [Jest support](https://github.com/facebookincubator/create-react-app/pull/250) but people are concerned because it lost a ton of community trust in the first year.
38+
* We want to use Jest because we’re excited about [Snapshot Testing](https://facebook.github.io/jest/blog/2016/07/27/jest-14.html) and are committed to improving Jest.
39+
* [Dan](https://twitter.com/dan_abramov) will make sure the testing experience is good before releasing it officially.
40+
41+
#### Kevin
42+
43+
* React never had people working on developer advocacy and community outreach.
44+
* We feel it is time to improve this, and [Kevin](https://twitter.com/lacker) will help us.
45+
* He already worked on [revamping React Native docs](https://facebook.github.io/react-native/docs/getting-started.html) which was highly successful.
46+
* Things that need addressing: React docs, GitHub issue management.
47+
48+
### Changes to Bundling
49+
50+
* Sebastian prepared a series of PRs that *really* split `react` and `react-dom` packages. ([#7164](https://github.com/facebook/react/pull/7164), [#7168](https://github.com/facebook/react/pull/7168), [#7173](https://github.com/facebook/react/pull/7173))
51+
* `react-dom` package implementation used to live inside of `react` package for legacy reasons.
52+
* Now they are separated: `react` only contains “renderer-agnostic” things like `React.Component`, `React.createElement`, and `React.Children`.
53+
* This is still work in progress, and there are many weird hacks we have to do, but we’ll reduce them over time.
54+
55+
#### Plan for Reconcilers and Renderers
56+
57+
* Paradoxically, `react` package won’t include include the React algorithm (“reconciler”) anymore.
58+
* For example, `React.createElement()` and `React.Component` stay there, but not the reconciler itself.
59+
* This makes sense because components relying on `react` don’t actually care how reconciler is implemented.
60+
* The React reconciler will exist in renderer packages such as `react-dom` and `react-native`.
61+
* Since almost nobody uses two renderers at the same time, each renderer will use a *copy* of the reconciler code.
62+
* This makes it possible for `react-native` and `react-dom` to move at different speeds and temporarily “fork” the reconciler code if needed.
63+
* This also makes it possible for `react-dom` to offer the new experimental [“Fiber” reconciler](https://github.com/reactjs/core-notes/blob/master/2016-06/june-23.md#update-on-fiber) behind a flag without changing all the third-party components that depend on `react`.
64+
* This sounds confusing but we think it’ll work better in practice.
65+
66+
------------
67+
68+
Please feel free to discuss these notes in the [corresponding pull request](https://github.com/reactjs/core-notes/pull/25).

0 commit comments

Comments
 (0)