3 ms·This has to be an error in the documentation: <ul class="items"> Should be: <ul className="items">by worldsayshi 2y agoThis has to be an error in the documentation: <ul class="items"> Should be: <ul className="items">zarzavat 2y agoDepends on the framework. You can use class= in Preact.nsonha 2y agoDidn't they say it? If you turn on the react directive then it outputs the react prop. Btw, you seem to have missed the new jsx transformer, className has been a thing of the past even in React.