Skip to content

Freshness broken for empty state #13423

@basarat

Description

@basarat

TypeScript Version: nightly

Code

class Foo extends React.Component<{}, {}>{
  render() { return <noscript /> }
  foo() {
    this.setState({ something: true }); // Should error but doesn't
  }
}

🌹

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions