canjs / can-view-scope

Scope management for view engines
https://canjs.com/doc/can-view-scope.html
MIT License
4 stars 0 forks source link

scope.log(true) could "unwrap" observables #191

Open justinbmeyer opened 6 years ago

justinbmeyer commented 6 years ago

image

Because the variables in a LetContext are single-value observables, there's a lot people need to go through to see the actual values in the scope.

Maybe we could make a version of log() that would hide the SetObservable.

As we really need something like this for logStack() and other methods, we should come up with a consistent API.

.log("clean") or something.