Core Meteor Concepts
Learn some core MeteorJS fundamentals.
This lesson explains some Meteor fundamentals that will be encountered in our daily development experience. It covers concepts that are unique to the framework.
The Meteor.isClient
concept
This is a boolean variable that returns true
if Meteor is running on a client environment. This variable can be used on the client side to check and load code that only runs on the client environment.
import { Meteor } from "meteor/meteor";
//load a client only stylesheet
if (Meteor.isClient) import './AccountPageFooter.scss';
The code above imports a style sheet that uses SASS
, which is a CSS preprocessor with syntax advancements.
Get hands-on with 1400+ tech skills courses.