Zell LiewMore Front-end Bloggers2 min read
The omitEmpty Function
Conditional spreads and if-statements bury the shape of an object. omitEmpty strips the empty values out instead, so you can write an optional property as if it were always there. Here's what counts as empty, and when to go shallow.
Zell LiewMore Front-end Bloggersread at source
Speaking Without Inhibition
Sometimes it's not appropriate to say something. But if you censor yourself all the time, you're being subjugated by other people's opinions — and your ability to speak freely is a measure of how free you really are.