Re:Show HN: Satori – Convert HTML and CSS to SVG in Millisec...
by shuding on Tuesday October 11, 2022 @09:13AM
(#33162961)
JSX here is just a way to represent the HTML information because you can't write HTML in JavaScript. It is NOT required. But with the JSX representation, the lib doesn't have to parse it again, and it's using it as JSON, check the "Use without JSX" section in the docs: https://github.com/vercel/satori#use-without-jsx
[ Parent
| on HN ]
There are no comments on this comment yet.