November 3 (discuss)
- Working on batching updates.
setState
is normally asynchronous in Fiber but it should be synchronous insidecomponentDidMount
andcomponentDidUpdate
. Also implementing opt-inReactDOM.unstable_batchedUpdates
for feature parity. (#8193) - It turned out to be significantly easier in Fiber to call
setState
callbacks right aftercomponentDidUpdate
rather than at the very end of all updates. We’re going to change the existing reconciler to match this behavior in React 16. (Ben will make the change in #8204)
- Wrote a script that keeps track of which tests fail and pass in Fiber.
- New PRs now need to run
scripts/fiber/record-tests
so that we can catch unexpected Fiber regressions. - Working on infrastructure to ignore tests that just check for warnings, as they’re less important while we work on Fiber feature parity.
- Fixed a few issues in Fiber scheduler. (#8172, #8187)
- Collaborating with Andrew on error boundaries and batching in Fiber. (#8193, #8210)
- Visiting from Seattle to meet with his new team, stopped by to attend the meeting.
- Gave us an overview of new Facebook open source pipeline: facebookexperimental → facebookincubator → facebook.
- At his new team, Paul will work to encourage more open source projects at Facebook.
- Working on a major refactoring of the event system. (#8176, #8190, #8192, #8229)
- The goal is to change it to attach event listeners at the root of the tree instead of the document. (#8117)
- The next step is integrating the event system into Fiber.
- React Native integration has been rocky because it now ships with its own copy of the reconciler, but we’re close.
- We added an internal opt-in flag for employees to render Facebook.com with Fiber. Everything is broken right now but we can now focus on getting simple components working.
Please feel free to discuss these notes in the corresponding pull request.