Jest is a batteries-included framework. Due to its fully-featured nature and large surface area, we can compare it to test runners (Mocha), assertion libraries (Chai, ShouldJS, power-assert, expect.js), integrated test-runner + assertion libraries (QUnit, Protractor, Tape, AVA, Jasmine), stubbing libraries (Sinon), module interception libraries (Proxyquire), coverage tools (NYC, Istanbul). Want to know more about why you should use Jest? Check out "What is Jest and why should I use it?" for the details.
Other popular stories this week include "Top 8 JavaScript Notification Libraries" on Syncfusion, "WebKit Features in Safari 17.3" and "Developing Scalable Frontends with Feature-Sliced Design (FSD)" on Bits and Pieces.
General
Building Reusable JavaScript Development Environments
Development environments provide an integrated framework for writing, testing, building, and deploying code to production. Dev environments enforce development standards through a series of tech...
Authored by: Bit
MongoDB support for NestJS Boilerplate with hexagonal architecture
We created NestJS boilerplate in August 2020 and since then we have worked on its optimisation and improvements. NestJS boilerplate is a project that contains all necessary libraries and solutions...
Authored by: Rodion
Developing Scalable Frontends with Feature-Sliced Design (FSD)
Build scalable and maintainable frontend applications using Feature Sliced Design and Bit
Authored by: Bit
What is Jest and why should I use it? · Code with Hugo
Jest is a delightful JavaScript Testing Framework with a focus on simplicity. jestjs.io
Authored by: Hugo Di Francesco
WebKit Features in Safari 17.3
Last month, Safari 17.2 brought our biggest December release of web technology ever - with 39 new features and 169 bug fixes.
Authored by: WebKit
Solving a LeetCode Problem in Under 5 Minutes
Given a string paragraph and a string array of the banned words banned, return the most frequent word that is not banned. It is guaranteed there is at least one word that is not banned, and that the...
Authored by: Bit
JavaScript
Creating a Shareable and Reusable Development Environment for Your Javascript Project
Build reusable JavaScript environments with Bit, centralizing linting, testing, and configuration files. Create a custom React Dev Environment, and consume it across projects for standardized development.
Authored by: Bit
Integrating JavaScript Scheduler with PHP and MySQL for Dynamic CRUD Operations
This blog post will provide a step-by-step guide on integrating Syncfusion’s JavaScript Scheduler control with a CRUD (create, read, update, and delete) application using PHP and a MySQL database.
Authored by: Syncfusion
JavaScript Engine and Runtime Explained
A JavaScript engine is simply a computer program that executes JavaScript code. It's responsible for translating human-readable JavaScript code into machine-readable instructions that the computer's hardware can execute. When you write JavaScript code and run it in a browser, the code doesn't directly interact with your computer's hardware. Instead, it
Authored by: JavaScript Kicks
TypeScript
Everything You Need to Know About TypeScript for Front-End Development
Explore TypeScript's dynamic landscape in front-end development. Uncover its definition, differences from JavaScript, and pros/cons in this guide.
Authored by: JavaScript Kicks
React
Flipping Cards Made Easy: A Beginner Guide to ReactJS
How To Code Make Card Flipping Gallery In ReactJS React Project | Easy Simple Basic Beginner ReactJS React Projects Starter Pack Templates Boilerplate Download Free Open Source Code Github | ReactJS React Javascript Cheatsheet PDF Download | Free Online Courses Resources To Learn Programming Certificates Nano Degrees |
Authored by: In Plain English
Synergizing Optimizations with useCallback() useMemo() and React's Re-Render
How we decide which values and functions' references need to be updated while re-rendering a React component.
Authored by: Frontend Weekly
Vue
Modern Vue.js Development with Vite: Best Practices and Tips
Explore Vite, Vue.js and Bit and improve your Vue.js development for 2024 by improving overall developer experience, productivity and efficiency
Authored by: Bit
Node.js
NodeJS vs Python: Which One to Choose for 2024
Quick summary: In the transition into the age of IoT and big data, backend systems are becoming significantly more sophisticated and complex. Given this, there could be a struggle with Node.JS vs...
Authored by: Frontend Weekly
Libraries and Tools
Top 8 JavaScript Notification Libraries
JavaScript notification libraries make developing notifications for web applications much simpler. However, choosing one is challenging since each library has unique features.
Authored by: Syncfusion
Testing
TDD: Writing Testable Code
Writing testable code is a vital skill in software engineering. Let's explore practical advice, strategies, and tactics for writing more testable code, unlocking the benefits of modularity...
Authored by: Eric Elliott
Functional Programming
JavaScript Arrow Functions vs Regular Functions
In JavaScript, there are two main ways of writing functions. You can create functions using the regular function syntax. Or you can use the arrow function syntax. In this article, you will learn how to use both options. You'll also learn about the differences between the two and when
Authored by: Benjamin Semah