Open Benjin opened 7 months ago
UWC is correctly detecting when dependencies change, but for some data types, e.g. functions or those without a useful toString(), it'd be nice to be able to supply a function to format the printed UWC output.
toString()
Proposals:
useWhatChanged([person, (x) => x.FullName], [place, null); or useWhatChanged([person, place], [(person) => person.FullName, null]);
In both cases, person has their print overridden to display the FullName property and place is left to its default.
person
FullName
place
UWC is correctly detecting when dependencies change, but for some data types, e.g. functions or those without a useful
toString()
, it'd be nice to be able to supply a function to format the printed UWC output.Proposals:
In both cases,
person
has their print overridden to display theFullName
property andplace
is left to its default.