I have the following element
<textarea className='title' autofocus="autoFocus"
onChange={(e)=>changeBill(e, 'title')}
value={bill?.title}
placeholder="Bill Title">
</textarea>
When I open the browser, it gives the following warning:
Warning: Invalid DOM property
autofocus. Did you meanautoFocus?
It's still working, but the warning is pretty annoying. I tried "autofocus" and "autoFocus" neither prevents the warning.