v2.0.0-rc1
Pre-release
Pre-release
What's Changed
- Support for
createClass
from React has been dropped. Usage ofcreateClass
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