Skip to content

Bug: Webpack process and setImmediate polyfill interferes with time slicing #21685

Open
@gaearon

Description

@gaearon

Here's the copy paste of the polyfill: https://gist.github.com/gaearon/5d2f7bedf76d7bbec2b5c1ee04861ce3

This reproes with old CRA (e.g. react-scripts@0.7.0). I saw this on this branch: Swizec/react-fractals#16

The result is concurrent renders get grouped into a huge blocking task:

Screenshot 2021-06-15 at 18 01 27

Not sure why yet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions