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