Summary
In this chapter, we learned what we can do with Meteor's reactive session object. We used it to rerun template helpers and our own custom functions, and we made a reactive function template specific using the created()
and destroyed()
callbacks.
To dig deeper, take a look at Meteor's documentation about sessions and reactivity at the following resources:
https://docs.meteor.com/#/full/reactivity
https://docs.meteor.com/#/full/session
https://docs.meteor.com/#/full/reactivevar_pkg
https://www.meteor.com/tracker
You can find this chapter's code examples at https://www.packtpub.com/books/content/support/17713 or on GitHub at https://github.com/frozeman/book-building-single-page-web-apps-with-meteor/tree/chapter6.
In the next chapter, we will create the admin user and backend for our blog, laying down the foundation to create and edit posts.