Within a component, writing a property which contains curly braces inside a string produces formatting that does not suggest that the string will come out like it does.
The code <input id='CardNumber' pattern='[0-9]{13,16}' /> is valid syntax and is compiled naturally by Babel. As such, I think the formatting should reflect this.
Within a component, writing a property which contains curly braces inside a string produces formatting that does not suggest that the string will come out like it does.
The code
<input id='CardNumber' pattern='[0-9]{13,16}' />
is valid syntax and is compiled naturally by Babel. As such, I think the formatting should reflect this.