Skip to content

kibu-australia/modu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modu

Modu, like modular or system for Clojure, provides a set of readymade components for Clojurescript.

Modu uses our cljx fork of Stuart Sierra's component found here

Modules include:

Usage

Refer to the README.md file inside each module for individual usage.

To use component on the client side, we need to use set! instead of alter-var-root!

(ns foo.core
  (:require [com.stuartsierra.component :as component]
            [modu.sente :refer [new-sente-client]]))

(def ^:dynamic system
  (component/system-map
    {:sente (new-sente-client :path "/chsk" :options {:type :auto})}))

(set! system (component/start system))

Contributing

Pull requests welcome for any Clojurescript library we don't currently have!

License

Copyright © 2014

Distributed under the Eclipse Public License version 1.0

About

Clojurescript modules for Component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published