Writing html attributes in a single line in React quickly gets out of control. Is there any hotkey or plugin to take html attributes in a single line and stack them vertically?
For a simple example, how do I convert this:
<input onChange={handleChange('name')} type="text" className="form-control" />
To this:
<input
onChange={handleChange('name')}
type="text"
className="form-control"
/>
Thanks!