Let's use this to track what's missing before Time Slicing is usable internally and in open source.
This list is probably very incomplete, feel free to add more.
unstable_deferredUpdates not being respected in interactive event handlers (reproducible in the fixture) https://github.com/facebook/react/pull/13488<div hidden> APIreact-dom depend on it, and publish it in open source (@flarnie, others internally)Related: Suspense Umbrella (https://github.com/facebook/react/issues/13206)
Thanks for creating this!
I would change
Figure out if it needs a priority API
to
Implement and try out the priority API
I can pick up that work again next week.
@flarnie Feel free to edit :-)
hi @gaearon, questions:
React.Component method (e.g., Component.prototype.deferSetState)?The unstable_deferredUpdates API is just a placeholder and will be removed. I imagine the actual API we鈥檒l end up with should be renderer-independent.
Will offscreen api work with fragments? Like this
<React.Fragment hidden={!visible}>
{content}
</React.Fragment>
@TrySound IIRC, React doesn't support any attribute on Fragment except one or two special(I don't remember)?
@NE-SmallTown I know that Fragment supports only key prop. That's why I'm asking. This will be a quite useful feature for example in windowing.
I think this needs updated since the latest release? At least it seems so from https://reactjs.org/blog/2018/10/23/react-v-16-6.html#scheduler-experimental ?
Most helpful comment
The
unstable_deferredUpdatesAPI is just a placeholder and will be removed. I imagine the actual API we鈥檒l end up with should be renderer-independent.