Skip to content

v2.0.0

Compare
Choose a tag to compare
@tatethurston tatethurston released this 02 May 20:00
· 26 commits to main since this release
be61928

What's Changed

  • Support for createClass from React has been dropped. Usage of createClass will no longer be detected.
  • Now errors on any JSX usage within a class. Previously the below was not caught:
import Document from "next/document";

class MyDocument extends Document {
  render() {
    <>...</>;
  }
}

Full Changelog: v1.0.0...v2.0.0