I see this in example code:
if (Meteor.isClient) {
I don't get it. Are we shipping server side code to the client? if (Meteor.isClient) {
I don't get it. Are we shipping server side code to the client?Relevant section of the docs: https://docs.meteor.com/#/basic/filestructure
In node you do that by extracting the code in a separate module and telling browserify to use the browser-specific module via your package.json.
In Meteor you can just check whether you're running in the client or server at runtime and execute different code accordingly. That's what `Meteor.isClient` is for.