Skip to content

Make JSXTransformer use async XHR #1530

@zpao

Description

@zpao

We were lazy before and just used sync XHR to make sure multiple scripts were still executed in the right order. However I'm not getting a warning in my console (Firefox Nightly) that says sync XHR is deprecated.

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/

Let's be preemptive and just build in the minimal work here to switch to async xhr and ensure we still process scripts in order.

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