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

Check out the Zero User's Guide for a (reasonably) complete guide. Also, there are a few demos:

Feel free to DM me @Ray Stubbs in the Clojurians Slack for any questions.

Can you improve this documentation?Edit on GitHub

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

× close