freactive.core icon indicating copy to clipboard operation
freactive.core copied to clipboard

reactive.core/atom returns a Cursor, which doesn't implement .bind

Open joinr opened this issue 7 years ago • 0 comments

So, in legacy examples from fx-clj, namely for binding, the fx-clj.binding/bind-> tries to bind a property to a reactive atom via multimethod fx-clj.core.extensibility/convert-arg.

Default method is identity.

There's no dispatch defined for Cursor. freactive.core/atom returns a freactive.core.Cursor (deftype) object now, instead of an instance of IReactiveAtom (or the like).

So, binding in fx-clj is broken until the deftype version of Cursor gets IReactiveAtom or can be bridged to existing functionality (I think).

joinr avatar May 22 '18 18:05 joinr