v3.1.0
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
Full Changelog: v3.0.0...v3.1.0