Arrow function should not return assignment.eslintno-return-assign code example
Example: arrow function should not return assignment
<div ref={(el) => { this.myCustomEl = el }} />
<div ref={(el) => { this.myCustomEl = el }} />