[Cuis-dev] Morphic-Widget repo

Mariano Montone marianomontone at gmail.com
Sat Dec 11 11:39:53 PST 2021


El 11/12/21 a las 16:06, Hilaire Fernandes via Cuis-dev escribió:
> What is the issue with ValueModels?

They are one more dependency.

Although, the widget package may not have to depend on a ValueModels
package after all, as all it does is send #value and #value:, and listen
for #change updates. The ValueModels package could be a dependency the
widget's user chooses to use, not a widget's dependency then..

Having said that, I like ValueModels because they simplify the widget's
interface and implementation, and at the same time they are very
flexible for the widget's user (can adapt a protocol very easily), IMO.

-
Mariano


More information about the Cuis-dev mailing list