[0]: https://babeljs.io/docs/babel-standalone#script-tags
[1]: https://legacy.reactjs.org/docs/add-react-to-a-website.html#...
I don't really like blanket statements like this or think they are appropriate. It's so counter to the spirit of the web.
Like, what does 'slow' mean in an absolute statement like this? It depends entirely on the system and usecase. It's just code at the end of the day. If it works for you, go for it!
The most interesting thing of this one is that uses no custom syntax for js variable, so @attribute something when you must pass an object as props.
<React.Fragment key={idx}>Then again, if we are at this road now again, maybe they should just bring a lighter version of e4x as part of ES/JS.
So in Sciter this works out of the box:
<html>
<body/>
<script>
function HelloWorld() {
return <p>Hello <b>world</b></p>;
}
document.body.append(<HelloWorld/>);
</script>
</html>
JSX expressions are compiled to calls of JSX(tag,atts,kids) function. That function can be redefined enabling
different libraries to use JSX in the way they want, here is an example of using JSX with PReact: import { h, render, Component } from 'preact';
JSX = h; // let's use PReact::h() as a driver of JSX expressions
See https://gitlab.com/sciter-engine/sciter-js-sdk/-/blob/main/s...