A minimalistic ClojureScript interface to React.js
conaw 2020-08-14T11:52:00.171800Z

Is there an equivalent to add-watch for reagent/tracks?

p-himik 2020-08-14T11:56:18.172100Z

I don't think so. The track type is very simple.

p-himik 2020-08-14T11:57:43.172300Z

With that being said, it's so simple that it's not that hard to write your own version that supports add-watch.

conaw 2020-08-14T12:05:07.172500Z

You’d look at the implementation for add-watch for this?

Yehonathan Sharvit 2020-08-14T12:08:09.173300Z

Hi there, In re-com, what’s the way to create input for numbers? As far as I can see in the docs the input seems to always be a string

p-himik 2020-08-14T12:09:43.173600Z

I have looked at the implementation of Track. :) It doesn't implement IWatchable.

conaw 2020-08-14T12:35:06.173800Z

So you’d re-implement track on top of IWatchable?

p-himik 2020-08-14T12:36:20.174Z

Not sure what you mean by "on top". If I really needed that functionality from tracks, I would implement my own Track that implements the IWatchable protocol.

agold 2020-08-14T21:00:17.174600Z

How does one use the :f> tag? Is this documented somewhere?