Zach Klippenstein (he/him) [MOD]
02/23/2021, 9:20 PMephemient
02/23/2021, 9:27 PMuseCalllback()
which wraps a function so that equality is compared based on its dependencies (which also have to be explicitly given)ephemient
02/23/2021, 9:28 PMModel(callback = { foo }.withIdentity(foo))
ephemient
02/23/2021, 9:29 PMZach Klippenstein (he/him) [MOD]
02/23/2021, 9:30 PMephemient
02/23/2021, 9:30 PMthis
which is more scope than you want or needZach Klippenstein (he/him) [MOD]
02/23/2021, 9:30 PMthe compiler could probably automatically determine what the captured variables are instead of having to pass them by handIsn’t that basically the same thing i was proposing then?
Zach Klippenstein (he/him) [MOD]
02/23/2021, 9:31 PMthis
?ephemient
02/23/2021, 9:32 PMthis
if you're using a property, but writing it by hand you can "capture" only the property in useZach Klippenstein (he/him) [MOD]
02/23/2021, 9:35 PM