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
grounded_sage 2019-02-07T05:13:51.052900Z

Is there a reactify-component equivalent in Rum? http://reagent-project.github.io/docs/master/reagent.core.html#var-reactify-component

mattly 2019-02-07T05:50:05.053500Z

Wow that is entirely unusable on mobile

mattly 2019-02-07T05:50:17.054Z

Iirc you should be able to use the component directly

grounded_sage 2019-02-07T07:32:22.055200Z

I'm wanting to use Rum components within vanilla React. @mattly not sure how to do it as most of the ways I am trying is not working.

serioga 2019-02-07T08:24:00.055300Z

if form's on-change is not called when input value is changed by user then yes

grounded_sage 2019-02-07T09:31:40.056100Z

Yea I am stumped haha. If anyone can shed some light on how one would go about that I would greatly appreciate it 🙂

grounded_sage 2019-02-07T09:34:07.057800Z

I am using Shadow-cljs to integrate with existing project. Got Reagent working with it fine by using reactify-component but I am not sure how I can achieve this with rum.

magnusdk 2019-02-07T09:37:32.057900Z

The form's :on-change is called when the input value changes, updating the atom causing the input to change – this is working fine. But it also resets the cursor position to the end of the text which is a problem :thinking_face: It only resets the cursor position when the :on-change handler is put on the form-tag. There are no issues when putting it on the input-tag.

magnusdk 2019-02-07T09:38:15.058100Z

I tried posting a gif in this thread that illustrates the issue, but I'm not sure it was uploaded correctly edit: here it is: https://user-images.githubusercontent.com/15210698/52402545-d6f75200-2ac4-11e9-9703-ef23acb38846.gif