Skip to content

UMD Production builds define global variables #10909

@rauhs

Description

@rauhs

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

The UMD production build linked in the announcement ( https://unpkg.com/[email protected]/umd/react.production.min.js ) define global variables y and Nb (react-dom).

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/ebsrpraL/).

Use the build with an app that defined the function or variable y, loaded before react.

What is the expected behavior?

React builds should not define any other global symbols other than React.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

16.0.0. It worked fine with some betas of 16.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions