This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-27
Channels
- # bangalore-clj (1)
- # beginners (50)
- # boot (23)
- # cider (19)
- # clara (28)
- # cljsrn (4)
- # clojure (93)
- # clojure-greece (67)
- # clojure-spec (14)
- # clojure-uk (11)
- # clojurebridge (1)
- # clojurescript (151)
- # community-development (1)
- # core-async (19)
- # core-matrix (1)
- # cursive (3)
- # emacs (1)
- # klipse (5)
- # leiningen (5)
- # luminus (3)
- # lumo (22)
- # nyc (1)
- # off-topic (17)
- # om (12)
- # onyx (16)
- # pedestal (5)
- # re-frame (20)
- # reagent (5)
- # spacemacs (10)
- # uncomplicate (2)
- # unrepl (11)
- # untangled (8)
- # vim (1)
I’ve just uploaded a SNAPSHOT version of untangled-web/om-css to clojars. The docs can be found on the develop branch here: https://github.com/untangled-web/om-css/tree/develop. This new version has a new namespace (the old API is preserved in its old namespace). The new API has a number of improvements: - Separation of localized and global rules - Better support for composition, so you don’t end up with duplication even if more than one component composes in the same subcomponent - Render no longer needs a macro expansion to “fix” css classnames. Instead a regular function can return the proper localized classnames in a map keyed by your non-localized name.
Thanks to @timovanderkamp for working with me to design the new API. He also did most of the coding.
Hello. In the om.next and Datomic docs keywords are namespaced usually in the following style: :country/name
. Now, with clojure.spec what's the best practice here? Do you switch to a "fully" qualified namespaces like :my-app.country/name
?
My fear with fully qualified namespaces is that everything gets overly verbose. I know that I can use namespace aliases to make this bearable. Did anyone had good experience with this in the context of om.next or datomic?
as has been said elsewhere I think it’s important to distinguish between specs for stuff that’s meant to exist outside the bounds of application and those thing that aren’t
Any growing collections of om next code bases I can study? 😃