Instead of interpolating an integer size into a string for each <img /> rendered which involves allocation of the string value on each render, (when size == 24, then "#{size}" leads to allocation of "24"), it would be more optimal if size were a String value to begin with and only converted into its Integer counterpart when necessary.
Similarly, API_VERSION is now a String value and :"data-proofer-ignore" always "true"
Instead of interpolating an integer
size
into a string for each<img />
rendered which involves allocation of the string value on each render, (whensize == 24
, then "#{size}" leads to allocation of"24"
), it would be more optimal ifsize
were a String value to begin with and only converted into its Integer counterpart when necessary.Similarly,
API_VERSION
is now a String value and:"data-proofer-ignore"
always"true"