How can I set up a reactive variable that changes with Bootstrap screen size?


Could I re-actively set a session var to match Bootstrap screen sizes? ie: Session.set('screenSize', 'sm'), only have it be set automatically.


I recommend using ReactiveVar (optional 1st party package)

screenSize = new ReactiveVar(Bootstrap.screenSize);



Awesome, this is exactly what I was looking for.