Category: JavaScript

  • OpenNext Gets Closer to Making Next.js Truly Portable

    OpenNext Gets Closer to Making Next.js Truly Portable

    Given that Next.js is an open source JavaScript framework for frontend development, seeing an associated project named OpenNext can feel slightly puzzling (or even pointed). The name may have caused a little confusion, but the reason for the project is to deal with some of the trade-offs that come with Next.js being a vertically integrated…

  • Hiring a Javascript Dev? Use These Interview Techniques

    You decided to hire a JavaScript developer. You want them to be perfect all around — to navigate JS’s crazy ecosystem, to have deep expertise in your technology of choice, and to be fluent in core computer science principles. Yes, another flavor of the Iron Triangle, and we can’t have it all. But can’t we…

  • Newly Stable Next.js Compiler Faster, Supports Larger Builds

    At the Next.js Conference in San Francisco on Thursday, the Next.js team released the stable version of Turbopack, a faster, Rust-based compiler for the framework. It’s been a two-year journey for Turbopack, which was first introduced as alpha at the 2022 Next.js Conference. The team also introduced a new approach for partial pre-rendering. Turbopack replaces…

  • Angular’s Approach to Partial Hydration

    Everybody talks about partial hydration and its siblings terms — islands, progressive hydration, donut hydration, selective hydration — but what does it mean? And do frameworks actually support partial hydration? Google Senior Software Engineer Jessica Janiuk, who works on the Angular framework team, spent six to eight months researching partial hydration. What she found is…

  • Encoding Differentials: Why Charset Matters

    Check out the following HTTP response. Notice anything? HTTP/1.1 200 OK Server: Some Server Content-Type: text/html Content-Length: 1337 <!DOCTYPE html> <html> <head><title>Some Page</title></head> <body> … Looking at this small portion of the HTTP response, you can assume this web app is likely prone to a cross-site scripting (XSS) vulnerability. If you are questioning the Content-Type…

  • How OOP Developers Can Get To Know TypeScript Through Deno

    As an old school Object Oriented Programmer (OOP), I’ve always found JavaScript a bit unnatural. So to me (and clearly many others), TypeScript is interesting as it tries to organize JavaScript into a more recognizably class-based style. But it has some very different properties. At the same time as wondering about these, this post looks…

  • Dev News: Node.js 23 and Rust 1.82 Released This Week

    Node.js 23 was released on Wednesday, and Node.js 22 will be promoted to long-term support the week of Oct. 29. That means it will enter long-term maintenance to ensure stable and secure updates, the Node team wrote in an OpenJS community blog post about Node.js 23. The highlights of this release include: Support for loading native ES modules using…

  • How To Build a Carbon-Aware Website Using React and Next.js

    Most people browsing the web are unaware that every click, scroll, and page view contributes to environmental emissions. The internet, while essential to our daily lives, consumes massive amounts of electricity, much of which is sourced from fossil fuels. As web developers, we have an opportunity to reduce this impact through an exciting new concept…

  • Spin + StarlingMonkey Equals JavaScript for WebAssembly

    VIENNA — It took a while, but JavaScript deployment with WebAssembly (Wasm) has seen a nice development, highlighted here with how Fermyon’s Spin offers a more direct route for deploying JavaScript in a Wasm module. With the Spin JavaScript SDK, this approach addresses previous limitations and is considered more elegant. Additionally, the Bytecode Alliance has…

  • Deno 2.0, Angular Updates, Anthropic for Devs, and More

    The Deno team introduced a new Deno for Enterprise program Wednesday, along with releasing Deno 2.0. Deno for Enterprise includes priority support, direct access to their engineers, guaranteed response times, and priority for subscribers’ feature requests. Deno 2.0 also released Wednesday, and the focus was on enabling Deno to be deployed at scale. “This means…

  • How Microsoft Edge Is Replacing React With Web Components

    When Microsoft’s Edge browser team released WebUI 2.0 in May, a project that aimed to replace React components with native web components, its primary goal was to make Edge faster for end users. The core idea was that adopting a “markup-first architecture” would reduce JavaScript reliance on its product, which would mean less code to…

  • JavaScript Due for New Time, Date and Set Features Next Year

    The language features that will be included in the next annual update to JavaScript will be decided early in the new year, including projects that reach the final stage four milestone by March 2025 (and there are a couple of features that have already gotten that far). There are others that are on track to…

  • Mix Human Expertise With LLM Assistance for Easier Coding

    This box full of ready-to-mail letters was my problem, and the checklist shown at the upper right was the solution. As an enthusiastic Vote Forward volunteer, I was losing track of which bundles were completed by which of my team of helpers. I needed a snippet of JavaScript to make a checklist so I could…

  • OpenAI Launches New ChatGPT Interface, Designed for Coding

    OpenAI launched a beta of canvas, a new ChatGPT coding and writing tasks space, this week. The AI company described it as going beyond the limitations of the chat interface by offering a side-by-side interface. “Although the chat interface is easy to use and works well for many tasks, it’s limited when you want to…

  • Vite Creator Launches Company To Build JavaScript Toolchain

    Evan You, creator of the development server Vite and the JavaScript framework Vue, is starting a new company dedicated to building a new toolchain for the JavaScript ecosystem, You announced Tuesday on X. A growing number of frontend frameworks are built on or have migrated to Vite, including Angular, Astro Qwik, Redwood, Remix, Solid and…

  • Behind the Scenes at the JavaScript Registry

    Today, I learned if you rotate the JSR logo upside-down (see above) — it looks exactly the same Since its public beta in March, the JavaScript Registry (JSR) has been sharing tips, insights, and general goodwill for its community of curious developers on podcasts, in blog posts, and in comments around the web. “Package authors…

  • Using Vite and Vike for Microfrontends; Plus Other Dev News

    If you haven’t heard of Vike, it’s the new name for the vite-plugin-ssr. Its parent build tool is Vite — but it’s also so much more, according to programmer Elijah Asaolu, who wrote about Vike and Vite for the LogRocket Analytics blog. “Vike started as a plugin designed to add server-side rendering (SSR) capabilities to Vite,…

  • Node Removes Corepack, Bun Runs Native C From JavaScript

    Node.js is planning to remove Corepack, a tool that has been included in Node.js since version 16.13.0. Corepack simplified managing different Node.js versions and package managers like npm, yarn, and pnpm across projects. It also provided a way to install and use these tools without having to worry about compatibility issues or manual configuration. There’s…

  • Most Dangerous JavaScript Vulnerabilities To Watch For in 2025

    JavaScript has once again retained its title as the top programming language in Stack Overflow’s annual developer survey (overall, not just for web development), fending off rivals like Rust, but that doesn’t mean it’s airtight and invulnerable. On the contrary — JS is validated client-side, which means hackers are continuously developing new ways to exploit…

  • Frontend Schism: Will React Server Components Destroy React?

    “One thing that is clear to me is that React Server Components will destroy React,” said Igor Minar, one of the creators of the Angular framework and now senior director of engineering at Cloudflare. Others, notably frontend cloud company Vercel, think that React Server Components “augment the fundamentals of React.” So who’s right? To quickly…

  • Free ‘JavaScript’ from Legal Clutches of Oracle, Devs Petition

    A movement is afoot to wrest the name “JavaScript” away from Oracle, which, to the surprise of many, still owns the trademark for the web programming language. “JavaScript has become a general-purpose term used by countless individuals and companies, independent of any Oracle product,” wrote Node.js and Deno creator Ryan Dahl in an “Open Letter…

  • JavaScript, Python and Java Among Tops in Language Rankings

    RedMonk’s third-quarter 2024 programming language rankings are out and among the top 20 languages, things have remained pretty stable, with JavaScript, Python and Java remaining in the top three in that order. PHP ranked fourth and C# was fifth, followed by its fellow Microsoft-created language, TypeScript, that holds the sixth spot by itself in this report….

  • Why ChatGPT Shifted From Next.js To Remix: Some Theories

    The frontend development community was all abuzz about OpenAI shifting off Next.js to Remix. We’re not sure who broke the news but numerous sources confirmed it with the source code. There’s no shortage of opinions on YouTube, LinkedIn and Medium, not to mention other social media discussions, about the shift. But those looking for insights…

  • Framework Lets React Developers Create Video With Code

    React is known for its ability to create frontend web animations and special effects. Programmer Jonny Burger found video editors challenging to use, so he decided to take React’s animation capabilities and build a framework that uses React code to create videos. It’s called Remotion. “There are many unsolved problems left for video, for people…

  • Try Mediasoup: An Open Source Streaming Media Tool

    Mediasoup, an open source server-side WebRTC library, revolutionizes the development of scalable real-time applications. Known for its superior codec support, Mediasoup offers a creative platform for building advanced real-time media streaming services. It builds on WebRTC’s capability to enable browser-based interactions such as video calls and data transfers without plugins, enhancing it with a strong…

  • Angular v19 Makes Standalone Default; and Devs Sound Off on AI

    Angular v19 will make standalone:true the default for components, directives and pipes, according to Google software engineer Alex Rickabaugh. “In v19 we’ll take the next step, and flip the default of the standalone flag in components, directives, and pipes, so you’ll never need to type ‘standalone: true’ again,” Rickabaugh wrote on Angular’s blog. The standalone…

  • Is React Now a Full Stack Framework? And Other Dev News

    Maybe we’re not so much living in a post-React world as we are living with a new React paradigm: React is becoming a full stack framework with the addition of React Server Components and Server Actions, software engineer and freelance developer Robin Wieruch argued recently. “This marks just the beginning of full-stack development with React,”…

  • OpenJS Foundation’s Leader Details the Threats to Open Source

    Before and after the XZ Utils backdoor vulnerability was discovered in late March, the OpenJS Foundation got inquiries from would-be contributors to open source JavaScript. Many of those inquiries raised no alarm bells. “JavaScript communities are very much volunteer-led, as opposed to some corporate-led open source projects,” said Robin Ginn, executive director of the OpenJS…

  • Developers Rail Against JavaScript ‘Merchants of Complexity’

    The rebelling against JavaScript frameworks continues. In the latest Lex Fridman interview, AI app developer Pieter Levels explained that he builds all his apps with vanilla HTML, PHP, a bit of JavaScript via jQuery, and SQLite. No fancy JavaScript frameworks, no modern programming languages, no Wasm. “I’m seeing a revival now,” said Levels, regarding PHP….

  • AI Dev Tools Ranked and Astro Adds Support for Large Sites

    Seventy percent of companies deploying GenAI use tools and vector databases to augment base models, according to a recent survey by Databricks. The company queried more than 10,000 global customers using its Databricks Data Intelligence Platform. The company published the results of its survey in its State of Data + AI report this month. LangChain…