Liking cljdoc? Tell your friends :D

Clojars Project

Zero

A toolkit for building web components in ClojureScript.

Highlights

  • Depends only on ClojureScript core
  • Small, with optional 'extras' modules for more features
  • Hot reload friendly
  • Focus preserving updates
  • 'Good enough' performance

Rationale

  • Web components have many advantages over React and similar frameworks, including:
    • Easy to render server-side
    • Seamless interop with other frameworks and libraries
    • Encapsulation, no style bleed, often better performance
    • Native DevTools support
  • Web components are cool, but the native API for building them isn't very convenient
    • Zero makes web components easy

Warning

Depends on modern browser APIs, works on the latest versions of all major browsers... but will break in some not-so-old versions. In particular, it depends on:

Learning

Zero is in a highly experimental stage of development, as such, it's difficult to keep any sort of extensive documentation up to date. So I've built a few demos, and will try to keep those up to date with the latest Zero version.

In addition, I'll do my best to keep the following up to date:

  • Configuration - Full walkthrough of zero.config, which is used to configure all aspect of Zero, including registering components.
  • Markup - Detailed description of the markup notation used by Zero, which is akin to Hiccup, but not identical.
  • Extras - Goes through Zero's 'extra' modules, including derived streams and the built-in database implementation.

Contact

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close