I work with React at my job, and I really do love that stuff.
I don't know if it's relevant, but Preact is very similar to React, and is only like 3kb (with 0 dependencies).
The way React actually works is by transpilation typescript/bable/webpack magic
This
function simplestReactComponent() {
return <div>Hello world!</div>;
}
Becomes this
function simplestReactComponent() {
return React.createElement("div", null, "Hello world!");
}
It wouldn't under any circumstances be part of the interpreter, but I don't know if it's a good investment of time..
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I work with React at my job, and I really do love that stuff.
I don't know if it's relevant, but Preact is very similar to React, and is only like 3kb (with 0 dependencies).
The way React actually works is by transpilation typescript/bable/webpack magic
This
Becomes this
It wouldn't under any circumstances be part of the interpreter, but I don't know if it's a good investment of time..