July 2023 Newsletter

Contents 📋

  1. News & Explore
  2. Read & Watch
  3. Challenge

Hot days are here, time to enjoy the sun. Let's dig deep into newsletter to find what has been going on in the last month.

News & Explore

Prisma 5.0

Prisma is unstoppable… Team has been non stop developing, fixing and release new versions of Prisma. While the newsletter has been prepared they have already released 5.1…

GitHub Release Changes (opens in a new tab)

Prisma (opens in a new tab)

Let’s Understand RSC Better

RSC has been out for a good time and understanding of this is really important so you can make most out of it.

Understanding RSC (opens in a new tab)

Does your web page bloated?

While building applications and web pages can get bloat up because of all the content that it has. You need to think about all the aspects of you webpage: speed, search rank, user experience?

What is page bloat? (opens in a new tab)

Expo SDK 49

React-Native and Expo is a great combination for mobile development and it’s always great to see new versions of Expo itself so it can help developers much more.

Expo SDK 49 (opens in a new tab)


Read & Watch

Good code is like a love letter to the next developer who will maintain it. 📰 (opens in a new tab)

10 Postgres tips for beginners 📰 (opens in a new tab)

Why engineers should focus on writing 📰 (opens in a new tab)

Make the fetch api type safe with fets 📺 (opens in a new tab)


Challenge

JS Challenges all about solving problems that arises from it. So this time let’s try to make our own implementation of Array and we should be able to run this code block below:

const office = array("Dwight Schrute", "Jim", "Kevin", "Angela", "Pam"):
 
// Add to array (.push)
office.hire("Michael", "Oscar", "Ryan", "Andy", "Toby");
// Remove from array
office.fire("Kevin");
 
// Filter array (.filter from array)
const meetingRoom = office.meeting((employee)=> {
  return employee !== "Michael";
});
 
// meetingRoom =>  All the employees except Michael
  1. array(...args) should create an array and return that array.

  2. hire(...args) function should push to array.

  3. fire(arg) function should remove a given element from the array

    • Extra 1: If you pass exact object that is in the array it will remove that.

    • Extra 2: It can take callback function to remove the element(s). Ex: office.fire((employee)=> boolean))

  4. meeting(callback) should filter the array.

If you want to make it more challenging you can make every function is type-safe and typed correctly. Good luck and have fun 🥳

Çeviri henüz hazırlanmadı, katkı sağlamak isterseniz (GitHub)[https://github.com/Ketcap/Ketcap-Dev/issues/6 (opens in a new tab)]