You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #3289 and reproducible after its fix in 7.30.1.
This code makes the display-name rule to yield the error 'Component definition is missing display name'. So it seems that it is still identifying the assignment of a function value to a variable as a component definition.
let demo = null;
demo = (a) => {
if (a == null) return null;
return f(a);
}`,
As opposed to #3289, it is needed both that the demo variable is declared and assigned in two different statements and that the value returned by the function is not a function itself (i.e. not a higher order function).
The text was updated successfully, but these errors were encountered:
Related to #3289 and reproducible after its fix in 7.30.1.
This code makes the
display-name
rule to yield the error'Component definition is missing display name'
. So it seems that it is still identifying the assignment of a function value to a variable as a component definition.As opposed to #3289, it is needed both that the
demo
variable is declared and assigned in two different statements and that the value returned by the function is not a function itself (i.e. not a higher order function).The text was updated successfully, but these errors were encountered: