JSK Weekly - 17 January, 2024

Type safety plays a crucial role in achieving reliability and robustness. It helps you catch errors early and avoid them by reusing interfaces. Regardless of which tool or combination of tools you use to add type-safety to your APIs, it’s recommended Bit to share your types and schema validators as independent components that can be shared between repositories. Check out "5 Tools and Patterns for Typesafe APIs" where Ashan Fernand explores the tools and design patterns instrumental in creating typesafe APIs.

Other popular stories this week include "React useState Hook from Scratch", "JavaScript Clean Code: Best Practice" and "The JavaScript DOM Manipulation Handbook".


General

A Modern Approach to Next.js Development

Build modern Next.js applications using Bit to speed up your development time and improve developer experience and productivity while making your apps more scalable and maintainable

Authored by: Bit

8 Tips for Debugging Next.js Applications

Next.js is the most popular JavaScript framework on the web right now. I have been working with Next.js for over four years, using the framework for both small personal projects and production...

Authored by: Bret Cameron

Solve The Asynchronous Exercises in a Simple Way

Asynchronous isn't a new topic in Javascript (NodeJS). I understand that It's one of the important parts of Javascript learning. But I just want to bring a small help to those who don't have much...

Authored by: Sang Nguyen

Building Reusable AI Components

Leverage Bit to build reusable AI components that can be used in framework you're working on to work with AI easier!

Authored by: Bit

JS DOM Manipulation Best Practices - with Examples

In JavaScript, you can manipulate the content of a web page using the Document Object Model (DOM). But how do you write code that is readable, easy to maintain, and not prone to performance issues? That's what we'll cover in this article. I'll discuss some important best practices so

Authored by: Benjamin Semah


JavaScript

Understanding the Signal Construct in JavaScript

A deep dive into the Signal construct in JavaScript.

Authored by: Bit

10 Interview Questions Every JavaScript Developer Should Know in 2024

The world of JavaScript has evolved significantly, and interview trends have changed a lot over the years. This guide features 10 essential questions that every JavaScript developer should know the...

Authored by: Eric Elliott

JavaScript Clean Code: Best Practice

Writing clean and maintainable code is crucial for any developer, and in this article, we'll explore some of the best practices you can follow to ensure that your JavaScript code is not only...

Authored by: JavaScript Kicks

The JavaScript DOM Manipulation Handbook

DOM Manipulation is one of the most exciting topics to learn about in JavaScript. This is because one of JavaScript's main uses is to make web pages interactive - and the Document Object Model (DOM) plays a major role in this. The DOM is a powerful tool that allows

Authored by: Benjamin Semah

How to get all property values in JavaScript object

To get the all property values of a JavaScript object without the knowing keys (or properties), we can use the built-in method in...

Authored by: Sai gowtham

Extract a Number from a String with JavaScript

User input from HTML form fields is generally provided to JavaScript as a string. We've lived with that fact for decades but sometimes developers need to

Authored by: David Walsh


TypeScript

5 Tools and Patterns for Typesafe APIs

Type safety plays a crucial role in achieving reliability and robustness. It helps you catch errors early and avoid them by reusing interfaces. Regardless of which tool or combination of tools you...

Authored by: Bit


Angular

Why should I use Angular Forms validation if HTML can do it?!

Recently, at work, we encountered a bug while using a third-party library for selecting the correct time format. Instead of trying to fix it, we decided to remove the dependency and use a native HTML...

Authored by: JavaScript Kicks


React

Dependency Handling Best Practices in a React Components

Master React dependency handling with Dev & Peer Dependencies. Learn best practices, versioning, security, and streamline with Bit. Stay updated in 2024

Authored by: Bit

React useState Hook from Scratch

In an effort to understand how things work under the hood, today we will learn how to design useState from scratch. Let's try to update our state now. As you know React you already know that when...

Authored by: Mohammad Faisal


Vue

Vue Tip: Persist Data in Vue.js App

When working on Vue.js applications, there are scenarios where it's essential to maintain data on the client-side until certain conditions or actions take place. This persistence is crucial, such as...

Authored by: John Philip


Node.js

Implementing a Proxy Server in Node.js

In networking, a proxy server plays the intermediary role between a client seeking resources and other servers. It acts on behalf of the client, requesting resources, and sometimes caching them, to...

Authored by: Ali Husen





0 comments