Skip to content

create-react-class cannot be compiled with latest Google Closure Compiler #9750

Closed
@elijahsmith

Description

@elijahsmith

When trying to compile create-react-class 15.3.1 with the latest Closure Compiler, the compiler complains:

react.js:4782: ERROR - @nosideeffects may only appear in externs files.
  render: SpecPolicy.DEFINE_ONCE,

This is related to #7551. The create-react-class npm package needs to be republished with the React 15.5.4 code.

This ticket is spun off of #7551 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions