Uh oh!
There was an error while loading. Please reload this page.
Changelog for 16.9 - #16254
Conversation
sizebot
commented
Jul 30, 2019
No significant bundle size changes to report. Generated by 🚫 dangerJS |
seraj
commented
Jul 30, 2019
Uh oh!
There was an error while loading. Please reload this page.
Go7hic
commented
Aug 1, 2019
AsyncMode -> ConcurrentMode ->createRoot -> ? |
gaearon
commented
Aug 2, 2019
@Go7hic When it's stable, you will see it in release notes. :-) We can't predict the future, but we're working to ship it. There's still more work ahead. |
Is there something I can call to make javascript: urls an error, not a warning? Or does the feature flag require a special build of React to enable this? EDIT: AFAICT not really — in react tests there’s: but i don’t think it will work in actual react builds. I would be highly in favor of adding a function like |
gaearon
commented
Aug 2, 2019
You can always do custom builds of React from master. (Even from the same commits that go out in a release.) And toggle it on. That's what we do. We generally don't allow runtime configuration because it doesn't compose well. Like if you have several apps on one page. |
lifeiscontent
commented
Aug 5, 2019
@gaearon are you guys working on ReactDOMServer Suspense Support? Where is it in the queue? |
gaearon
commented
Aug 5, 2019
We've added initial infrastructure but haven't started on the implementation yet. Please let's keep this thread focused on the 16.9 release. |
Andarist
commented
Aug 5, 2019
Seems like async act won't help solve this one, right? As setState gets called in promise handlers internally there is no way for act to wrap it. |
6graNik
commented
Aug 6, 2019
Don't forget who was the first mentioning this issue for core team, lol |
BZ-koko
commented
Aug 6, 2019
Good Job |
@Andarist this is a great usecase for async act. made a PR with a fix and some notes - final-form/react-final-form#578 |
mdrideout
commented
Aug 6, 2019
Is there anything significant new feature I should learn for this release? (Like hooks / suspense on previous releases)? |
gaearon
commented
Aug 6, 2019
There will be a blog post, but this release is relatively minor in terms of new features. |
bvaughn
commented
Aug 6, 2019
@gaearon: Did we intentionally omit mention of |
* Changelog for 16.9 (TODO: add date) * Update CHANGELOG.md * Add date
React
<React.Profiler>API for gathering performance measurements programmatically. (@bvaughn in #15172)unstable_ConcurrentModein favor ofunstable_createRoot. (@acdlite in #15532)React DOM
UNSAFE_*lifecycle methods. (@bvaughn in #15186 and @threepointone in #16103)javascript:URLs as a common attack surface. (@sebmarkbage in #15047)disablePictureInPictureattribute on<video>. (@eek in #15334)onLoadevent for<embed>. (@cherniavskii in #15614)useStatestate from DevTools. (@bvaughn in #14906)setStateis called fromuseEffect, creating a loop. (@gaearon in #15180)findDOMNodefor components wrapped in<Suspense>. (@acdlite in #15312)!importantstyle. (@acdlite in #15861 and #15882)React DOM Server
React Test Utilities and Test Renderer
act(async () => ...)for testing asynchronous state updates. (@threepointone in #14853)actfrom different renderers. (@threepointone in #16039 and #16042)act()call. (@threepointone in #15763 and #16041)actfrom the wrong renderer. (@threepointone in #15756)