Is there an equivalent to add-watch for reagent/tracks?
I don't think so. The track type is very simple.
With that being said, it's so simple that it's not that hard to write your own version that supports add-watch
.
You’d look at the implementation for add-watch for this?
Hi there,
In re-com
, what’s the way to create input for numbers?
As far as I can see in the docs https://re-com.day8.com.au/#/slider the input seems to always be a string
I have looked at the implementation of Track
. :) It doesn't implement IWatchable
.
So you’d re-implement track on top of IWatchable?
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.
How does one use the :f> tag? Is this documented somewhere?