New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make track watchable #510
Comments
I looked into this, but I'm not sure if this makes sense. Track doesn't really have a current value that could be watched. Track is backed by a Reaction, that does have a value, and Reactions have IWatchable implemented but I'm not completely sure how or when it works. Seems like in case of
|
@Deraen Thanks for looking into it, and for all the work you do. I have since moved onto using My use case included being able to use the same code for a reactive derefable within a reagent context as watched on toplevel. |
The
Track
type could benefit from being watchable by implementing theIWatchable
protocol.reagent/src/reagent/ratom.cljs
Line 216 in 4decfa6
reagent/src/reagent/ratom.cljs
Lines 174 to 177 in 4decfa6
The text was updated successfully, but these errors were encountered: