Skip to content

v3.1.0

Compare
Choose a tag to compare
@tatethurston tatethurston released this 13 Nov 00:16
· 5 commits to main since this release
c2b155e

v3.1.0

  • New option: allowJsxUtilityClass. This configuration option permits JSX utility classes: classes that have methods that return JSX but are not themselves components (they do not extend from a Component class or have a render method).

    The following is now permitted when enabling this configuration option:

    class Foo {
      getBar() {
        return <Bar />;
      }
    }

    Thanks noahm for the contribution!

New Contributors

  • @noahm made their first contribution in #10

Full Changelog: v3.0.0...v3.1.0