February 2022 Newsletter

The world is evolving fast. Multiple things are going on at the same time so while everything is keeping you busy we have prepared a newsletter for you.

Why do it yourself when you can automate it

Contents 📋


News & Explore

Engineering and technology grow faster than we think. It’s always amazing to see the progress around it. Don’t worry about catching it all we have a curated list for you.

Anonymous Group takes an action

Anonymous declared war against the Russian Government.

Anonymous on Twitter (opens in a new tab) State TVs have been hacked. (opens in a new tab)

What’s a monorepo?

There’s constant talk about monorepos and how to use them. What are the benefits? What are the tools? What features do these tools support? You can visit the webpage below to find all answers. The short answer is: There’s no single solution for everyone.

Monorepo Explained (opens in a new tab)

HTML is hard but CSS is harder

What if I told you even you can debug CSS which isn't a programming language?

Debug your CSS layouts with this one simple trick (opens in a new tab)

Merging array with join?

If you are still using join to merge things in the array you might want to re-think that decision again.

Eric Clemmons – For Hire on Twitter (opens in a new tab)

Let’s align on package.json

package.json is often misunderstood or misunderstood. Let’s align to see what it is.

The Basics of Package.json (opens in a new tab)

Migrations with more DX

Prisma announced new tools for migrations to make migrations better and more developer-friendly.

Prisma Announcment (opens in a new tab)

Evolution of the Web and Vercel

The web grows every year and Vercel has grown as well. Check out their statistics!

The evolution of the Web: What we learned and where we’re going – Vercel (opens in a new tab)

Let’s inspect GraphQL

When working with GraphQL you need to know what are the requests and inspect them. If you wish to do so this tool might be for you.

GitHub Repo (opens in a new tab)

Debugging like a Pro

console.log is good, console.table is better and then there’s debugging.

How to debug JavaScript code (opens in a new tab)

More performant with hooks

React hooks help us to create more performant solutions when used correctly. Let’s see them in action.

Blog Post on Medium (opens in a new tab)

The Top 100 NPM packages that require 2FA

Open source and npm packages are used very widely and to support their security Github and NPM are rolling out 2FA.

GitHub Issue (opens in a new tab)

UI Library that is sponsored by Vercel

There are too many UI libraries out there and all of them are looking cool to use. Here’s one more to add to your stack.

NextUI (opens in a new tab)

Markdowns for JS is much better

MDX has released their new major version 2 which is much faster and packs new features.

MDX 2.0 (opens in a new tab)


Libraries

Babel: has released v7.17.0 (opens in a new tab)

Decorators are now stable but not compatible with TS :disappointed_relieved:

NodeJs: has released v17.5 (opens in a new tab)

fetch is globally available under the experiment (opens in a new tab) tag.

ElectronJs: has released v17 (opens in a new tab).

Upgrades to Chromium 98, V8 9.8, and node 16.13.0.

ExpressJs: has released 5.0.0.Beta (opens in a new tab).

Breaking changes, dependency updates, new features, and more…


Challenge

When you work with Date and Timezones it’s a always tricky situation. The conversion of timezones and correct display of time to the user is a problem many of us faced in the past.

Given an array of people and their timezones in UTC, write a function to return the local time for a given person. Maybe you would like to solve for a 12 or 24-hour clock!

// Time 14:00 UTC
let humans = [
    { name: 'John', timezone: 'UTC−1:00' },
    { name: 'Neo', timezone: 'UTC+2:00' }
    { name: 'Trinity', timezone: 'UTC−3:00' }
]
 
localTime('Neo')
16:00pm // Check the time above to see if it's correct (it will change on your usage and when you run)