We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isStateless
1 parent 95aba30 commit 6dbc267Copy full SHA for 6dbc267
src/utils.js
@@ -1 +1 @@
1
-export const isStateLess = Component => !Component.prototype.render
+export const isStateLess = Component => !Component.prototype || !Component.prototype.render
0 commit comments