31615
A resourceful newsletter featuring the latest and most important news, articles, books and updates in the world of #javascript 🚀 Don't miss our Quizzes! Let's chat: @nairihar
💎 Sponsored
🚀 Tired of bugs and frontend-backend conflicts?
Our expert devs have created a cutting-edge platform just for IT professionals! 🌟
👉 Join our Telegram channel to access:
🔹 Latest industry news 📰
🔹 Practical developer tips 💡
🔹 Exclusive content on our products & projects 🚀
Stay informed about the most relevant tech trends and events. It's both fun and productive here! 🎉
👉 OneEntry Headless CMS 👈
Don't miss out — level up with us! 🔝👨💻
🌐 date-fns v4.0 Released with First-Class Time Zones Support
date-fns is a hugely popular and comprehensive suite of 200+ functions for working with dates in JavaScript, and now there’s first-class time zone support too.
Sasha Koss
‼️ ✌️ Hey! We’re excited to offer 3 FREE FULL ACCESS tickets (worth $149 each) to the JavaScript online conference organized by Geekle!
To participate, simply enter your email for a chance to win.
We’ll announce the 3 lucky winners tomorrow on our channel, selected randomly. Don’t miss out on this amazing opportunity!
Join us here: /channel/javascript
Check out the event details here: https://events.geekle.us/javascript/
📌 'Oracle, It’s Time to Free JavaScript.'
It’s long been a bone of contention that Oracle owns the trademark for ‘JavaScript’ (we put out a call two years ago) but this marks the first serious effort to try and change that, including petitioning the USPTO, if necessary. You can support the effort by signing this open letter, joining a vast array of JavaScript luminaries.
The JavaScript Community
📌 REST API Development with Node.js
Manage and Understand the Full Capabilities
of Successful REST Development
Fernando Doglio
Fullstack React: The Complete Guide to ReactJS and Friends
Stop wasting your time learning React with incomplete and confusing tutorials. There are so many incorrect, confusing, and out-of-date blog articles One tutorial says one thing and another says something completely different. ...
Anthony Accomazzo, Nate Murray, Ari Lerner
✌️ The State of ES5 on the Web
Some of the earlier JavaScript build tools focused on allowing developers to write modern JavaScript code that could still run on the browsers of the time by compiling code down to ES5. Time has moved on, but have the tools or popular libraries? Philip investigates, and shares some recommendations.
Philip Walton
👀 ESLint v9.10.0 released
We just pushed ESLint v9.10.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
- Types now included
eslint
📌 The Web's Clipboard, and How It Stores Data of Different Types
An interesting exploration of how things currently work with copy and pasting on the web, how different data types are treated, and what the Web Custom Formats proposal is putting forward.
Alex Harri Jónsson
👀 Experimental TypeScript support via strip types
Node.js introduces the --experimental-strip-types flag for initial TypeScript support. This feature strips type annotations from .ts files, allowing them to run without transforming TypeScript-specific syntax. Current limitations include:
- Supports only inline type annotations, not features like enums or namespaces.
- Requires explicit file extensions in import and require statements.
- Enforces the use of the type keyword for type imports to avoid runtime errors.
- Disabled for TypeScript in node_modules by default.
Rafael Gonzaga
👍 Jimp 1.6: Image Processing in Node without Native Dependencies
Most image libraries, such as the powerful Sharp, lean on external libraries to do the heavy lifting, but Jimp can handle BMPs, GIFs, JPEGs, PNGs, and TIFFs on its own for blurring, color adjustments, resizing, rotation, etc. GitHub repo.
jimp Contributors
🌲 Express.js 5.0 Released; Sort Of
After a long period of seeming to merely be on life support, work on Express picked up significantly earlier this year with a big plan to push ‘Express forward.’ The first fruit of this process is now beginning to appear with v5.0. Node 18 is now the minimum support version, there are error handling improvements, improvements to the project’s tooling, the introduction of a Threat Model, and updates to many of its dependencies.
Wesley Todd
CHALLENGE ❓
Читать полностью…
function tag(strings, ...values) {
return strings[0] + values[0] * 2 + strings[1] + values[1] + strings[2];
}
const num1 = 5;
const num2 = 10;
const result = tag`Double ${num1} and add ${num2}!`;
console.log(result);
Please confirm that you have received your ticket and that the email is valid. @nairihar
Читать полностью…
📌 Real-World Next.js
Build scalable, high-performance, and modern web applications using Next.js, the React framework for production
Michele Riva
📌 Full Stack Serverless
Modern Application Development with React, AWS, and GraphQL
Nader Dabit
📌 ELOQUENT JAVASCRIPT
A Modern Introduction to Programming
Marijn Haverbeke
🌲 nano-spawn: Tiny Execa-Inspired Process Execution
If you’re familiar with Sindre’s powerful Execa for running commands from a Node app in a robust manner, nano-spawn offers its core functionality in a smaller package and remains a better option than child_process in any case.
Sindre Sorhus and ehmicky
📌 PROFESSIONAL JAVASCRIPT® FOR WEB DEVELOPERS
A comprehensive guide to mastering JavaScript for building dynamic, modern web applications.
Matt Frisbie
📌 Node.js Web Development Fifth Edition
Server-side web development made easy with Node 14 using practical examples
David Herron
📌 Real-World Next.js
Build scalable, high-performance, and modern web applications using Next.js, the React framework for production
Michele Riva
CHALLENGE
Читать полностью…
async function foo() {
console.log('Start');
await Promise.resolve().then(() => {
console.log('Inside Promise');
});
console.log('End');
}
foo();
console.log('Outside');
CHALLENGE
Читать полностью…
console.log(MyClass);
class MyClass {
constructor() {
this.value = 42;
}
}
CHALLENGE
Читать полностью…
function* gen() {
yield* [1, 2, 3].map(x => x * 2);
}
const iterator = gen();
console.log(iterator.next().value);
console.log(iterator.next().value);
console.log(iterator.next().value);
console.log(iterator.next().value);
CHALLENGE
Читать полностью…
async function process() {
console.log('Start');
await new Promise(resolve => setTimeout(resolve, 0));
console.log('Middle');
return 'Done';
}
process().then(result => console.log(result));
console.log('End');
CHALLENGE
Читать полностью…
const obj = Object.freeze({
a: [1, 2, 3],
b: {
c: 4
}
});
obj.a.push(4);
obj.b.c = 5;
console.log(obj.a);
console.log(obj.b.c);