You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$mol is a TypeScript framework with fine-grained reactivity ($mol_wire), declarative components (view.tree), its own builder (MAM) and an HTTP/WebSocket server ($mol_rest_server) from the same repo.
Server and API:$mol_rest_server with composable $mol_rest_resource handlers (HTTP and WebSocket).
SSR on request: components render on the server through $mol_dom_context, which is jsdom in Node. Every request is rendered on demand without caching.
Hydration: the server root gets the same name as the client root, so every element id in the HTML matches the view that owns it in the browser. On load the client picks up the existing elements by id instead of creating new ones. In headless Chrome, 0 table nodes are removed or added after parsing; without this step all 5,002 are recreated. Row data is serialized as JSON into the page.
Client routing:history.pushState, links handled by the app.
To be upfront: the server, the server-side DOM and the builder are official $mol modules. The adoption step is an 8-line override in the app (dom_node_external looks the element up by id first); $mol has no built-in hydration API.
App: benchmark routes as in other entries: /server-side-rendered (+ /:id), /client-side-rendered (+ /:id), /ssr-throughput, /initial-load with the shared CSS. A plain-links route for ssrLoad can be added the same way.
Server:node my/app/-/node.js with PORT. For ssrRequestThroughput the bundle exports a Web handler: $bog_ssr_handle(request: Request): Promise<Response>.
Preliminary local numbers (one machine, not CI-comparable): /ssr-throughput ~13 req/s in-process (baseline HTML string template: ~525 req/s on the same machine), heap flat after 600 renders, web.js 31 KB gzip. Server rendering is slow because of jsdom; that is the honest cost of the current approach.
Things that differ from other entries
Versioning. $mol is not published to npm as versioned packages; the builder pulls module sources from git on first build.
Install and dependency metrics. Because of (1), node_modules holds only the builder, TypeScript and jsdom; framework code arrives through git during the first build. This needs a note, or the git fetch could be moved into the measured install step.
Virtualized lists.$mol_list renders only rows in the viewport by default. The benchmark app uses plain views, so all 1,000 rows are rendered like in other entries.
Questions
Does an SSR approach based on a server-side DOM (jsdom) with id-based adoption on the client qualify, given the adoption step lives in the app rather than in the framework?
Is pinning the builder on npm plus the framework by git commit acceptable as the "framework version"?
I can write and maintain the integration (upgrades, lockfiles, build and benchmark failures, methodology docs). I won't open a PR until this is approved.
Activity
Dev-cmyser commentedon Nov 17, 2026
Proposal: $mol
$mol is a TypeScript framework with fine-grained reactivity (
$mol_wire), declarative components (view.tree), its own builder (MAM) and an HTTP/WebSocket server ($mol_rest_server) from the same repo.Fit with the meta-framework criteria
$mol_rest_serverwith composable$mol_rest_resourcehandlers (HTTP and WebSocket).$mol_dom_context, which is jsdom in Node. Every request is rendered on demand without caching.history.pushState, links handled by the app.To be upfront: the server, the server-side DOM and the builder are official $mol modules. The adoption step is an 8-line override in the app (
dom_node_externallooks the element up by id first); $mol has no built-in hydration API.Proposed setup
npm install,npm startfor the dev server,npx mam my/appfor a production build intomy/app/-/./server-side-rendered(+/:id),/client-side-rendered(+/:id),/ssr-throughput,/initial-loadwith the shared CSS. A plain-links route forssrLoadcan be added the same way.node my/app/-/node.jswithPORT. ForssrRequestThroughputthe bundle exports a Web handler:$bog_ssr_handle(request: Request): Promise<Response>.Measurements
install,build,devServer,dependencies,browserBaselinessrRequestThroughput,serverSideRendered,clientSideRendered,initialLoad,ssrLoad,ssrRouterLinkLoadPreliminary local numbers (one machine, not CI-comparable):
/ssr-throughput~13 req/s in-process (baseline HTML string template: ~525 req/s on the same machine), heap flat after 600 renders,web.js31 KB gzip. Server rendering is slow because of jsdom; that is the honest cost of the current approach.Things that differ from other entries
node_modulesholds only the builder, TypeScript and jsdom; framework code arrives through git during the first build. This needs a note, or the git fetch could be moved into the measured install step.$mol_listrenders only rows in the viewport by default. The benchmark app uses plain views, so all 1,000 rows are rendered like in other entries.Questions
I can write and maintain the integration (upgrades, lockfiles, build and benchmark failures, methodology docs). I won't open a PR until this is approved.
erkamyaman commentedon Nov 21, 2026
opened #917 for Angular (CLI and Analog)
AlexanderKaran commentedon Nov 24, 2026
Hey Everyone
It was a very silly idea for me to be like hey track everything in one issue. So I am closing this issue.
Please submit new meta-framework requests here: https://github.com/e18e/framework-performance/issues/new?template=01-new-meta-framework.yml
Sorry to be a pain