rum

Simple, decomplected, isomorphic HTML UI library for Clojure and ClojureScript | 0.12.8 https://github.com/tonsky/rum/blob/gh-pages/CHANGELOG.md#0128
Bravi 2019-01-14T10:08:44.036700Z

hi everyone. is anyone using rum with emacs or spacemacs?

Bravi 2019-01-14T10:10:38.038400Z

this might be a long shot, asking it here but I’m trying to adjust indentation of macros. basically this is how my indentation works at the moment

(rum/defc some-component
  < rum/static
  some/other-thing
  []
  ...)
and I’m trying to indent it like so
(rum/defc some-component
  < rum/static
    some/other-thing
  []
  ...)

Bravi 2019-01-14T10:11:12.038900Z

perhaps someone else had this problem and sorted out somehow..

cheatex 2019-01-14T13:19:20.039200Z

I just go with

(r/defcs tree-c <
  r/reactive
  (focus-control)
  [state dispatch]

mattly 2019-01-14T14:30:19.039700Z

that's what I do too

Karol Wójcik 2019-01-14T23:21:03.040700Z

Hello guys. How I can render PureComponent from rum? Tried

(rum/defc header
  []
  (js/TextLoop {:interval 100}))
but then the error is Uncaught TypeError: Cannot set property ‘props’ of undefined