Closed jacwright closed 8 months ago
Old method would not output correct HTML, setting some attributes incorrectly, such as className="my-class" instead of class="my-class". This removes string-based code and leans on existing rendering code and the browser to output the HTML.
className="my-class"
class="my-class"
Old method would not output correct HTML, setting some attributes incorrectly, such as
className="my-class"
instead ofclass="my-class"
. This removes string-based code and leans on existing rendering code and the browser to output the HTML.