3 ms·
Probably attributes indentation for HTML tags would be better if the final '/>' will be at the separate line. The purpose is to be able to remove attributes sim
by v_ignatyev 12y ago
Probably attributes indentation for HTML tags would be better if the final '/>' will be at the separate line. The purpose is to be able to remove attributes simply deleting the whole line. It's much more useable in any IDE. If you delete last line when '/>' isn't on separate line you will need to add '/>' or tell IDE to somehow end tag (it's not a problem, but redundant movement).
<input
type="text"
value={this.state.newDinosaurName}
onChange={this.inputHandler.bind(this, 'newDinosaurName')}
/>
- zackify 12y agoI think this is good practice also