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.
1 parent 170b091 commit d36ff81Copy full SHA for d36ff81
src/__tests__/fixtures/component_2.js
@@ -29,3 +29,7 @@ export function foo() {
29
export function chained() {
30
return foo.bar().join();
31
}
32
+
33
+export function templateLiteral() {
34
+ return `foo bar`.split(' ');
35
+}
src/utils/isStatelessComponent.js
@@ -32,7 +32,7 @@ function isValidCalleeType(type) {
'Identifier',
'CallExpression',
'ArrayExpression',
- 'TemplateLiteral'
+ 'TemplateLiteral',
36
'Literal'
37
].indexOf(type) < 0;
38
0 commit comments