1.2K Followers
·
Follow

Make your daily work life more enjoyable and productive with these quick “I didn’t know you could do that” Slack Pro Tips.

Image for post
Image for post
Original photo by Donnie Rosie on Unsplash

If you’re anything like me, when you’re at the office, you live, breathe, and die by Slack. It’s become such a part of many of our work lives, that on the rare occasion when it does go down, we panic and the world seems to come to a screeching halt.

But don’t fret. Slack is alive an well, and we’re here to discuss happier times.

In this article, I’d like to share a few Pro Tips that I’ve picked up along the way — many of which I’ve tweeted, or dropped in the #random channel for my colleagues at work to use — but I’ve collected them and presented them here for you to use. …


ReactAF does for React what Babel does for JavaScript

Image for post
Image for post

Let’s say for a moment that you are a component developer and you maintain, or are writing an OSS React package. As you don’t control the application itself, a best practice if for you to specify react as a peerDependency in your package.json, something file like this.

"peerDependencies": {
"react": ">=15.0.0"
}

What this specifies is that your package relies on react versions 15.0.0 …


Image for post
Image for post
Original un-colorized photo by Artem Sapegin on Unsplash

This opinionated article will explain some of the red flags to look for when reviewing a React/JavaScript project. Avoiding these patterns can make your code more performant, more reliable, and easier to maintain.

🚩 Look out for the let keyword

Back in the ES5 days, var was the only means at our disposal to create variables. ES6 introduced the block-scoped let and const keywords.

In my experience, I see very few situations where you should use let. Sure, it has its place (like a counter, for example), but for most applications const is better suited. You’ll soon see why.

Take the following common use case. It renders the amount in red if negative, otherwise, it will be in black. …

About

Donavon West

Developer Relations at AmericanExpress.io. On Twitter @donavon. MyViews !== ThoseOfMyEmployer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store