Search code examples
javascriptmeteormeteor-helper

Moving information from one template to another in meteor


The question may be witty. But I am seriously looking if it is possible. I want to make data available in more than one template. This can be done easily by using Session object. But are there any alternatives apart from using Session? It could be anything like client side db or anything.

Suggestions gracefully accepted.


Solution

  • From the top of my head, there is:

    Also, remember that at no point does meteor prevents you from using javascript globals. A lot of time it is the fastest way if you need something quick and simple and reactivity is either not required or not worth the hassle.