We've always been at war with {{theEnemy}}.
``` ```js // main.js Template.main.helpers({ theEnemy() { return Session.get('enemy'); } }); Session.set('enemy', 'Eastasia'); // Page will say "We've always been at war with Eastasia" Session.set('enemy', 'Eurasia'); // Page will change to say "We've always been at war with Eurasia" ``` {% apibox "Session.equals" %} If value is a scalar, then these two expressions do the same thing: ```js Session.get('key') === value Session.equals('key', value) ``` ...but the second one is always better. It triggers fewer invalidations (template redraws), making your program more efficient. Example: ```html {{! Show a dynamically updating list of items. Let the user click on an item to select it. The selected item is given a CSS class, so it can be rendered differently. }} {{#each posts}} {{> postItem}} {{/each}}