#javascript
The latest AI and developer news about #javascript, with the original source and a short summary.
The latest AI and developer news about #javascript, with the original source and a short summary.
HuggingFace has released Agents.js, a JavaScript library that grants LLMs tool-use capabilities in the browser and on servers.
It presented the causes and code-based solutions for four major bugs, including scroll position, Z-axis rendering, and touch events.
Rendering errors caused by Next.js Dynamic Import stripping the Swiper component's displayName can be resolved by manually setting it or using the transpilePackages option.
Improved readability by converting multi-environment conditional statements into a Map structure and enhanced execution performance with node_modules caching.
How to easily implement complex view transitions using the View Transitions API.
Kakao's new front-end developers strengthened their technical skills through 6 weeks of mission-based practice, including cloning Instagram and Netflix, and code reviews by current employees.
Implement zoom-in and zoom-out logic by measuring the change in distance between fingers using the TouchEvent API without any libraries.
This article introduces how to set up Jest Custom Matchers to reduce repetitive validation logic and the process of defining TypeScript types.
Kakao FE analyzed the reasons behind the stalled standardization of Promise cancellation and shared a case study on resolving rendering cancellation issues in ad SDKs using a rollback delay approach.
This article introduces code that intercepts actual network requests and returns fake responses using Service Workers and MessageChannel.
This article introduces the process of building an SPA routing system using Fragment hashes and regular expressions without react-router-dom.
The winners of the first Tutorial Jam, which leveraged Replit's new `.tutorial` feature, have been revealed.
The approach involves running GitHub Actions from the terminal by selecting region and env without creating a branch.
This article outlines how to declaratively manage complex UI state flows using XState's core features, such as context, guards, and services.
This article analyzes why stopPropagation fails when using Swiper alongside React due to React's event delegation structure and presents three solutions.
This article summarizes the key features of ES2022, released in June 2022, and TC39 Stage 4 proposals likely to be added to the official specification in 2023.
Replit has launched a native DevTools feature, also usable on mobile, for debugging web pages.
The article compares CSS transitions, CSS animations, SVG animations, and the JavaScript Animation API using a hamburger-to-X menu icon example.
Explains the principles and limitations of Webpack 5's Module Federation feature, which integrates separately built containers at runtime to reduce build time and impact scope.
The V8 engine divides the heap into New and Old spaces, managing them with the Scavenger and Mark-Sweep-Compact algorithms, respectively.
For 1500x1500 image color extraction, distributing the workload across 16 workers reduced the completion time per worker to 69.89ms, compared to 1016.70ms when processed solely on the main thread.
A Custom Render wrapper automatically applies MSW mocks from Storybook stories to Jest, eliminating duplicate code.
This explains how to build a multiplayer game in the Replit environment using Kaboom.js and Nakama.
Resolved Safari compatibility issues and latency with HTMLAudioElement by using the BufferSource node of the Web Audio API.