Fork me on GitHub
#rum
<
2019-01-14
>
Bravi10:01:44

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

Bravi10:01:38

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
  []
  ...)

Bravi10:01:12

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

cheatex13:01:20

I just go with

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

mattly14:01:19

that's what I do too

Karol Wójcik23:01:03

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