Arrow function should not return assignment? : <p>My code is working correctly in the app however, my eslint isn't liking it and is saying I should not return assignment. What is wrong with this?</p>

<pre><code>&lt;div ref={(el) =&gt; this.myCustomEl = el} /&gt;
</code></pre>
