Issue #193 · December 21, 2020

How to Make Your Code Reviewer Fall in Love with You

“It's still magic even if you know how it's done”

🎅🏻 Best 7 links of week #51, 2020

⭐️ FullStack Bulletin has outgrown its free plan! If you enjoy this newsletter, consider supporting us:

Donate on Patreon - Discuss sponsorship

How to Make Your Code Reviewer Fall in Love with You

How to Make Your Code Reviewer Fall in Love with You

Submitting Pull Requests is such a fundamental part of our job these days. Whether is for a work project or an open-source project, chances are that every time you are adding new functionality or fixing a bug you will submit a PR. Communication around PRs can be tricky and sometimes it might lead to conflict. This beautiful article will provide you with some of the best practices for code review when you're the author.

Articles

The Import On Interaction Pattern

A new interesting UI pattern that suggests to "lazy-load" non-critical resources when a user interacts with the piece of UI that requires it. This approach will make sure that your main application bundle will be as minimal as possible and the user will get additional functionalities incrementally as needed.

Command Line Interface Guidelines

An open-source guide to help you write better command-line programs, taking traditional UNIX principles and updating them for the modern day.

From Callback Hell to Callback Heaven

Remember the time when a lot of "callback-driven" JavaScript code looked like a pyramid of doom? Thankfully today we have async/await to help us keeping things nice and tidy... But was it really a callback issue? Can we write nice and readable code by only using callbacks? Spoiler alert: YES WE CAN!

The Rules of Margin Collapse

“Margin collapse” has a dastardly reputation, one of the trickier parts of CSS. Fortunately, it gets a lot easier once you learn a few rules! In this tutorial, we take a deep dive into the governing principles, and learn how to use them to our advantage.

Swizec/useAuth

A simple way to add authentication to your React app using a convenient hook. It supports various providers such as Auth0 and Netlify Identity.

Book of the week

SQL Pocket Guide: A Guide to SQL Usage

SQL Pocket Guide: A Guide to SQL Usage

by Jonathan Gennick

If you're a programmer or database administrator who uses SQL in your day-to-day work, this popular pocket guide is the ideal on-the-job reference. You'll find many examples that address the language's complexity, along with key aspects of SQL used in IBM DB2 Release 9.7, MySQL 5.1, Oracle Database 11g Release 2, PostgreSQL 9.0, and Microsoft SQL Server 2008 Release 2. SQL Pocket Guide describes how these database systems implement SQL syntax for querying, managing transactions, and making changes to data. It also shows how the systems use SQL functions, regular expression syntax, and type conversion functions and formats.