But in his 2-year-old brain, those two events may be equally tragic. The prefrontal cortex has not fully developed, making it difficult to appreciate that water can only be wet or that his dog will not return, or to regulate the ensuing emotion in either case. That his agitation is illogical makes it no less real.

Another person’s distress should not be a signal to pull out your phone, craving “likes.” That’s bad enough when it’s a stranger on a plane, but how much the more so when it’s your child, who needs your respect and compassion?

Yes, children should learn to laugh at themselves, and that type of learning should first occur in the safety of the family. But those early lessons should concern some harmless folly the child can understand, and a tantrum signals that it’s the wrong moment.

Instagram posters probably feel that their laughter is innocent, given that the child will never see the video. But if an action is wrong, awareness is beside the point; it’s not O.K. to cheat on your spouse because she stays in the dark about it.

Parents have needs too, but you can satisfy them without mocking your child. When a tantrum jangles your nerves, instead of laughing, try this empirically proven method of interrupting the “panic cycle.” Notice your body’s response — the racing heart, the shallow breathing — and remember that your reaction is biological, not cause for alarm. Further calm yourself with a deep breath or a quick 5-4-3-2-1 grounding exercise.

Solidarity with other parents comes from sharing your experiences in raising kids, so sure, continue posting stories and pictures of your children — just don’t mock them. If you must tell someone about your kid falling apart because you are “very bad at making lassos,” tell a family member or close friend. You can joke about your mom (but I can’t) because teasing entails trust; you are secure enough in your love that you can joke about sensitive things. Strangers on the internet don’t love your child.

Raising children is complicated, and few rules can be applied without exception. Humor offers one, though: Always laugh with your children, never at them.