9.0.0 / 2021-06-07 💥 Breaking Changes #4633: Drop Node.js v10.x support (@juergba) #4635: import-first loading of test files (@giltayar) Mocha is going ESM-first! This means that it will now use ESM import(test_file) to load the test files, instead of the CommonJS require(test_file). This is not a problem, as import can also load most files that require does. In the rare cases where this fails, i
JavaScript in the browser runs many times faster than it did two decades ago. And that happened because the browser vendors spent that time working on intensive performance optimizations. Today, we’re starting work on optimizing JavaScript performance for entirely different environments, where different rules apply. And this is possible because of WebAssembly. We should be clear here—if you’re run
If you transmit a number whereas an integer encoded on 64 bits is expected you will get an exception: let run = async () => { try { let bytecode = await fetch("add/add.wasm"); let wasm = await WebAssembly.instantiateStreaming(bytecode); console.log(wasm.instance.exports.addInt64(1,2)); } catch(e) { console.error(e); } }; > run().then(); TypeError: wasm function signature contains illegal type Call
DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit! Wondering what’s even more challenging than choosing a JavaScript framework? You guessed it: choosing a CSS-in-JS solution. Why? Because there are more than 50 libraries out there, each of them offering a unique set of features. We tested 10 different libraries, which are listed here in no p
Since its early days, JavaScript programs have grown in complexity and the number of tasks they perform. The need to compartmentalize such tasks into closed scopes of execution became apparent. “Tree-shaking” is a must-have performance optimization when bundling JavaScript. In this article, we dive deeper on how exactly it works and how specs and practice intertwine to make bundles leaner and more
// Define the layout constraints using VFL syntax: var constraints = AutoLayout.VisualFormat.parse( [ 'H:|[view1(==view2)]-10-[view2]|', // The horizontal aspect of the layout 'V:|[view1,view2]|', // The vertical aspect of the layout ], {extended: true}, ) // Create a view, uses the constraints to calculate the actual positioning and sizing of spaces in the layout: var view = new AutoLayout.View({
Adopts D3's elegant concept of scales, but implements them on the GPU to maximize data throughput and handle scale changes with no additional cost. Performs all rendering on the GPU, even axes and text. This keeps rendering and compositing fast and simple - no need to overlay a canvas or svg over your plot. Provides a small but growing set of highly optimized primitives that are tuned for handling
import { createTheme, style } from '@vanilla-extract/css'; export const [themeClass, vars] = createTheme({ color: { brand: 'blue', white: '#fff' }, space: { small: '4px', medium: '8px', } }); export const hero = style({ backgroundColor: vars.color.brandd, color: vars.color.white, padding: vars.space.large });
Announcing CodeSandbox has Acquired Play.js, a Native JavaScript IDE for iOSWe're super excited to announce that CodeSandbox has acquired play.js! On top of that, we're making play.js free and integrated with CodeSandbox. This is our first step to mobile-first development. Over the past few years we’ve seen a shift in how people use their tablets. When the first iPad was released, many people saw
In the Jest 26 blog post about a year ago, we announced that after two major releases with few breaking changes, Jest 27 will flip some switches to set better defaults for projects that are new or can migrate smoothly. This gives us the opportunity to remove some packages from the default distribution of Jest 28 and publish them as separately installable and pluggable modules instead. Everyone on
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く