You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
Suggest usage of Session.equals('foo', true) over Session.get('foo') === true for scalar types, as it triggers fewer recomputations.
// If value is a scalar, then these two expressions do the same thing:Session.get("key")===value// (1) Session.equals("key",value)// (2)// ... but the second one is always better. It triggers fewer invalidations (template redraws), making your program more efficient.
Suggest usage of
Session.equals('foo', true)
overSession.get('foo') === true
for scalar types, as it triggers fewer recomputations.source.
The text was updated successfully, but these errors were encountered: