Skip to content

ES6 generator as a component: react-dom.development.js bug #11864

Closed
@doasync

Description

@doasync

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

bug

What is the current behavior?

react-dom.development.js behavior is different from the behavior of react-dom.production.min.js

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Here is an example: https://codepen.io/doasync/pen/RxWoJQ?editors=1010 (doesn't work)

Replace https://unpkg.com/[email protected]/umd/react-dom.development.js with https://unpkg.com/[email protected]/umd/react-dom.production.min.js and it will work again

What is the expected behavior?

Generators should work with react-dom.development.js (see the given example)

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

16.2.0

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