We’ll explore twelve TypeScript tricks for writing clean code, with examples that demonstrate how they work and why they are useful. By using these tricks in your own TypeScript code, you can create more robust and maintainable applications that are easier to reason about and debug.
⏱️ 11 minutes read
#Typescript
⏱️ 11 minutes read
#Typescript
Medium
12 TypeScript tricks for Clean Code
We’ll explore twelve TypeScript tricks for writing clean code, with examples that demonstrate how they work and why they are usefu
As a programming language that has been gaining popularity among developers, TypeScript has continued to evolve, bringing a plethora of improvements and new features. In this article, we’ll delve into the latest iteration of TypeScript, version 5.0, and explore its most noteworthy updates.
⏱️ 8 minutes read
#Typescript
⏱️ 8 minutes read
#Typescript
Medium
Typescript 5.0 Released: A Quick Overview
Exploring the Most Exciting Features and Updates
If you do interviews as a JavaScript developer from time to time, then you know that the questions in such interviews are always similar (more or less, okay!). Under different phrases, interviewers test you for knowledge of the same topics. And despite this, as you will see, the statistics of correct answers to such questions is quite low.
⏱️ 8 minutes read
#Interview
⏱️ 8 minutes read
#Interview
Medium
The most failed JavaScript interview questions
Try yourself and read the explanation.
Are you ready to have your mind blown? I’m Erick Wendel, and I’ve recreated the Node.js project from scratch, uncovering some shocking truths along the way, and published it on my Youtube channel.
⏱️ 10 minutes read
#NodeJS
⏱️ 10 minutes read
#NodeJS
Medium
5 Shocking Things About Node.js That You Thought You Knew But Didn’t!
Learn How Node.js works behind the scenes
Let me first start by stating that I started using Node.js when it was on version 0.10 (yes, you read that right!).
⏱️ 8 minutes read
#NodeJS
⏱️ 8 minutes read
#NodeJS
Medium
Node.js Just Released Version 20! WTH?!
Let’s see what’s new with Node v20!
TypeScript has become a reliable tool for catching errors and improving the stability of code. However, when working with TypeScript, I’ve often wondered about the differences between the type and interface keywords and when to use each one.
⏱️ 8 minutes read
⏱️ 8 minutes read
Medium
Mastering TypeScript: A Guide to Choosing Between ‘type’ and ‘interface’
Choosing between ‘type’ and ‘interface’ in TypeScript can be confusing, but understanding their differences can improve the code…
HTML is a living language in constant evolution. The latest addition has been a new semantic element for search operations
⏱️ 3 minutes read
#HTML
⏱️ 3 minutes read
#HTML
Medium
New HTML Element: <search>
HTML is a living language in constant evolution. The latest addition has been a new semantic element for search operations
As a software developer, I've always tried to write flawless code. Great code is not just functional – it should also be elegant, efficient, and robust.
⏱️ 8 minutes read
#AI #Tools
⏱️ 8 minutes read
#AI #Tools
freeCodeCamp.org
How You Can Use AI to Improve Your Code Quality
By Shane Duggan As a software developer, I've always tried to write flawless code. Great code is not just functional – it should also be elegant, efficient, and robust. But let's be honest – the journey towards code perfection can sometimes feel lik...
Many developers continue to use the useState and useEffect hooks to update states, but I have not been fond of this approach. The issue is that it causes the component to mount, remount, and unmount simultaneously, leading to unexpected behavior. As a result, when logging something into the console, you may see the result repeated three times.
⏱️ 6 minutes read
#React
⏱️ 6 minutes read
#React
Medium
Bye-bye useState & useEffect: Revolutionizing React Development!
Every React developers wants to avoid states and effect at all cost. Today, I want to show you an alternative for the useState and…
Our team is a couple of months into developing a new application, and our suite of unit 240 tests takes 46 seconds to run. That duration is not excessive yet, but it’s increasing in proportion to the number of tests. In a couple of months, it’ll take a couple of minutes to run our tests.
⏱️ 12 minutes read
#Testing #Jest
⏱️ 12 minutes read
#Testing #Jest
Medium
Why Is My Jest Test Suite So Slow?
The simple mistake undermining Jest’s performance
This past week, the Vercel team posted a major announcement on their blog about the release of Next.js 13.4. To provide more context about why this is such an important release, we need to understand how the Vercel team handles releases to the public. Next.js 13 introduced new many new features, but most of them have remained in alpha & beta, even though they were included in the major release.
⏱️ 8 minutes read
#NextJS #React
⏱️ 8 minutes read
#NextJS #React
Medium
Next.js 13.4 is Finally Here and It’s Awesome!
Dive into some of the features and improvements that come with this release.
Learn how to organize your Next.js project using a feature-driven structure with the new App Router, allowing for greater flexibility and efficiency in development.
⏱️ 8 minutes read
#React #NextJS
⏱️ 8 minutes read
#React #NextJS
Medium
How to Structure Your Next.js App With the New App Router
Learn how to organize your Next.js project using a feature-driven structure with the new App Router, allowing for greater flexibility and…
While useStateis a simple tool to use, many developers still make mistakes with it. During code reviews, I often see these mistakes made even by experienced people.
⏱️ 7 minutes read
#React
⏱️ 7 minutes read
#React
Medium
5 React useState Mistakes That Will Get You Fired
5 Common React useState mistakes and how to avoid them
Node.js 20 has arrived, ushering in a new era of innovation and excitement. This groundbreaking release is slated to make its debut on April 18, 2023, and will ascend to Long-Term Support (LTS) status come October 2023, with ongoing support guaranteed until April 2026.
⏱️ 5 minutes read
#NodeJS
⏱️ 5 minutes read
#NodeJS
Medium
NodeJS 20 — Few mind blowing features.
Introduction: Welcome to the Node.js 20.
According to Wikipedia, in computer programming, a code smell is any characteristic in the source code of a program that possibly indicates a deeper problem.
⏱️ 6 minutes read
#Typescript
⏱️ 6 minutes read
#Typescript
Medium
Clean Up Code Smells with Clean Code: TypeScript Edition
Common Code Smells in JavaScript and TypeScript and How To Fix Them
I created the same File Share Server in Rust ( Actix Web ), C++ ( Crow ) , Python ( Django ) and Nodejs ( Express ). The results will probably surprise you.
⏱️ 5 minutes read
#backend
⏱️ 5 minutes read
#backend
Medium
I built the same Web Server in 4 languages. Here’s what I found…
I created the same File Share Server in Rust ( Actix Web ), C++ ( Crow ) , Python ( Django ) and Nodejs ( Express ). The results will…
A thread on Reddit Beginner here, start with react, svelte, or solid? caught my eye and gave me a chance to hash out some of my own thoughts on these platforms and where beginners should start in 2023.
⏱️ 9 minutes read
#Frontend #React #vue
⏱️ 9 minutes read
#Frontend #React #vue
Medium
Thoughts on React vs Vue vs Everything Else in 2023
A thread on Reddit “Beginner here, start with React, Svelte, or Solid?” motivated me to ponder my own take on the state of front-ends.
In the realm of front-end development, terms and paradigms can sometimes be mystifying, and ‘headless UI’ or ‘headless components’ may very well belong to this category. If you’re scratching your head wondering what these mean, you’re not alone. In fact, despite the confusing moniker, these concepts are compelling strategies that can significantly simplify the management of complex user interfaces.
⏱️ 8 minutes read
#React
⏱️ 8 minutes read
#React
Medium
Decoupling UI and Logic in React: A Clean Code Approach with Headless Components
In the realm of front-end development, terms and paradigms can sometimes be mystifying, and ‘headless UI’ or ‘headless components’ may very…
Some APIs in JavaScript may have a relatively low usage rate. Below we introduce their usage and usage scenarios one by one.
⏱️ 5 minutes read
#JavaScript
⏱️ 5 minutes read
#JavaScript