smalljs$molSearch⌘ KDocsPlaygroundCompareEcosystemAboutEN
FAQGetting StartedIntroductionMental modelGetting StartedFrom TypeScript to view.treeProject StructureToolingEssentialsInstallationViewsState & ReactivityRoutingRenderingTestingDeploymentTroubleshootingDataData FetchingData SchemasGiper BazaMoreShowcaseFrom React, Vue & SvelteCookbookAdvancedPluginsModule metadataOfflineGhost viewsAboutFAQTeamReleasesAPI$mol_button_major$mol_button_minor$mol_string$mol_number$mol_text$mol_paragraph$mol_list$mol_row$mol_link$mol_check$mol_switch$mol_select$mol_scroll$mol_page$mol_pick

FAQ

What is smalljs?

smalljs is the documentation site for $mol — a reactive UI framework with typed views, automatic reactivity, and no virtual DOM. The framework itself is developed in the open by the hyoo-ru community; this site gathers a guide, an interactive course, a live playground, and an API reference in one place.

Is $mol production-ready?

Yes. $mol powers real apps and internal tools — see the Showcase. It ships from a single monorepo (MAM) and is used daily by its authors and community.

How big is the runtime?

Small. A minimal app is about 123 KB of JavaScript uncompressed, or roughly 20 KB over the wire once compressed. Rendering is virtualized by default (components outside the viewport are never created), and the build ships only the modules you actually use, so the bundle grows with your app rather than with the framework. See Rendering for the details and reproducible benchmarks.

Do I have to learn a new template language?

You learn view.tree, a compact tree syntax for declaring component layout. It is intentionally small — the Views chapter covers everything you need in one sitting. Logic stays in plain TypeScript, and styles are typed too.

How is it different from React, Vue or Svelte?

Reactivity is automatic — there is no useState, useEffect, or manual subscription. You describe what the UI is; $mol decides how and when to update it. The concept translation table maps ideas from other frameworks onto $mol.

Where do I get help?

Ask in the DEV communityBrowse the $mol source and issues on GitHubRead the reference docs at mol.hyoo.ru

What license is it under?

MIT. You can use $mol in commercial and open-source projects freely.
Edit this page on GitHubWas this helpful?YesNoPreviousGhost viewsNextTeam
On this pageWhat is smalljs?Is $mol production-ready?How big is the runtime?Do I have to learn a new template language?How is it different from React, Vue or Svelte?Where do I get help?What license is it under?
Type to search the documentation.