Skip to content

feat: add No.JS framework#321

Open
ErickXavier wants to merge 1 commit into
matschik:mainfrom
ErickXavier:feat/add-nojs
Open

feat: add No.JS framework#321
ErickXavier wants to merge 1 commit into
matschik:mainfrom
ErickXavier:feat/add-nojs

Conversation

@ErickXavier

Copy link
Copy Markdown

Adds No.JS to the comparison set.

No.JS is an HTML-first reactive framework: you build dynamic UIs with HTML attributes only — no JS files, no build step, no virtual DOM. A single <script src="https://cdn.no-js.dev/"></script> boots the page and directives on plain elements drive reactivity, so it fits the "syntax by example" format well and offers a genuinely different point of comparison from the JS-centric frameworks already listed.

What's included

  • Registered the framework in frameworks.ts (frameworkVersions + frameworks).
  • Added a CodeSandbox static playground generator in build/lib/playgroundUrlByFramework.ts, mirroring the existing Alpine approach (both are CDN-script frameworks). The render-app example ships a full HTML document, so the generator skips the boilerplate wrapper in that case.
  • Logo at static/framework/nojs.svg.
  • All 22 examples across the 6 categories, so No.JS shows 100% coverage in the progression table.
  • Regenerated the README progression section.

Directives showcased

Each example uses the idiomatic No.JS directive for that concept: state / computed+expr (reactivity), each / if/else-if/else (templating), ref+$refs (dom-ref), on:mounted/on:unmounted (lifecycle), use+var/<slot> (composition), trigger (emit to parent), store+$store (context), model (two-way form binding), and declarative get+as+loading/error (data fetching).

Notes

  • The diff is additive only — no existing files were reformatted.
  • Content builds and the full site build pass locally; the generated comparison pages (*-vs-nojs) render with the logo and title.

Add No.JS (https://no-js.dev), an HTML-first reactive framework, to the
comparison set.

- Register the framework in frameworks.ts (version + family) and add its logo
- Author all 22 examples across reactivity, templating, lifecycle, component
  composition, form input and webapp features using idiomatic No.JS directives
  (state, bind, computed, each, if/else-if/else, model, ref/$refs, use/slot,
  trigger events, store, declarative get)
- Add a CodeSandbox static playground link (No.JS runs from a single CDN script)
- Regenerate the README progression table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant