om

Please ask the channel first, not @dnolen directly!
tony.kay 2017-05-27T01:41:03.072025Z

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.

tony.kay 2017-05-27T01:41:18.072818Z

This requires the latest 1.0.0-beta1 version of Om.

tony.kay 2017-05-27T01:41:29.073440Z

Untangled is not required, but of course it is compatible.

tony.kay 2017-05-27T01:42:35.077013Z

Thanks to @timovanderkamp for working with me to design the new API. He also did most of the coding.

2017-05-27T14:09:26.731508Z

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?

2017-05-27T14:15:42.751785Z

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?

dnolen 2017-05-27T16:23:44.198386Z

@r0man with Datomic definitely there’s liberal use of aliasing

dnolen 2017-05-27T16:24:31.201207Z

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

sova-soars-the-sora 2017-05-27T18:25:17.629972Z

Any growing collections of om next code bases I can study? 😃

adamvh 2017-05-27T23:15:01.500504Z

@sova check out untangled web

adamvh 2017-05-27T23:15:25.501502Z

it's a framework built on top of om next and there's a lot of literature associated with how to use it

adamvh 2017-05-27T23:15:44.502221Z

it's like a less-flexible but easier-to-use version of om.next