Skip to content

v2.0.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@tatethurston tatethurston released this 29 Apr 23:46
· 18 commits to main since this release
38e5acb

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-rc1