for each platform Strange Quark keeps the parts of a browser that React apps depend on and replaces the rest with native code: 1. Your app and react-dom run unmodified in V8. 2. react-dom talks to squark-dom, a DOM written in JavaScript. React and libraries see ordinary DOM nodes, events and CSSOM objects. 3. Every DOM change becomes a 16-byte record in a journal. The journal streams into a Rust copy of the document. 4. Stylo(the CSS engine Servo and Firefox share) styles that document. Taffy and Parley lay it out. 5. A GPU renderer draws it through wgpu and Vello, on its own thread. i would love to hear technical feedback and criticism!
Show HN: Quark – native apps with react. no webview or Chromium
- Posted 2 hours ago by sinisterMage
- 1 points
1 comments
Loading..