You are reading a single comment by @TheLogan and its replies. Click here to read the full conversation.
  • 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..

About

Avatar for TheLogan @TheLogan started