Closed isergey closed 8 years ago
This is intentional. The recommended pattern for satisfying the jsx-no-lambda
rule is to bind your callback elsewhere, not inline. This is orthogonal to the jsx-no-string-ref
rule.
Also see #26
Closing as there's no action to take here
If ref defined as lamda, tslint warn about no lambda in JSX. But ref is string attr, tslint warn about callback to ref prop.
[tslint] Lambdas are forbidden in JSX attributes due to their rendering performance impact
[tslint] Pass a callback to ref prop instead of a string literal