JavaScript 每周问题 659:2023 年 10 月 19 日

  • Node.js 21 Released: In the next week or so, Node v21 replaces v20 as the 'current' release with new features first. Node v20 becomes the 'active' LTS version. v21 introduces V8 11.8, npm 10.2, stable Web Streams support, and an experimental browser-compatible WebSocket implementation.
  • Need SAML Auth? Use WorkOS: WorkOS enables quick building of enterprise features like SAML & SCIM. Integration is seamless with beautiful API docs and SDKs. Hundreds of companies use WorkOS including Vercel, PlanetScale & Webflow.
  • Eight Options to Reduce JavaScript Code: Solid.js creator Ryan Carniato suggests several approaches to reduce JavaScript code footprint, covering areas from code splitting to progressive hydration and hybrid routing.

    • TC39 has started a new task group to standardize source maps.
    • Colin Eberhardt goes over The State of WebAssembly 2023 results.
    • The latest React Jam gamedev event began today with ten days to create a game using React. Previous winning entries are available.
    • You can also see the latest js13kGames winners.
    • Obfuscating JavaScript and then compressing it doesn't have a great outcome in terms of size reduction.
    • The Node.js project has an official mascot design contest.
  • RELEASES:

    • TanStack Query v5: Query-led declarative state management and data fetching.
    • Storybook 7.5: Frontend component dev tool with Vite 5 and Lit 3 support, faster starts, and Angular-focused improvements.
    • Lit 3.0: Build agnostic components on top of modern Web standards.
    • Rockpack 4.0: React app starter/generator.
    • Astro 3.3, Biome 1.3, and Bun 1.0.6.
  • Articles & Tutorials:

    • The Nuances of Base64 Encoding Strings in JavaScript: Matt Joseph looks at how to do Base64 encoding and decoding in JavaScript and areas to take special care.
    • event.target.closest: Jeremy Keith introduces this way to return the closest DOM node that matches a specified CSS selector.
    • Prototyping a JavaScript JIT Compiler: Andreas Kling's 80-minute screencast is fascinating if you have the time and inclination. Andreas has developed a JavaScript-capable browser called Ladybird for his own OS SerenityOS.
  • Code & Tools:

    • Postgres.js 3.4: A high performance Postgres client working with several JavaScript platforms including Node, Deno, Bun, and Cloudflare, offering features like realtime change subscription, dynamic query building, high availability support, async cursors, etc.
    • PureImage: A pure JS HTML Canvas 2D for Node.js to get a browser-like 2D canvas experience without native dependencies.
    • eslint-plugin-regexp 2.0: ESLint plugin to find regex related issues with an interactive demo.
    • little-rat: Chrome extension to monitor (and block) other extensions' network calls.
    • Sortable 3.0: Make tables sortable with class="sortable".
    • AdminJS 7.3: Automatic admin interface for Node apps.
    • Shoelace 2.10: Suite of elegant web components.
    • Recharts 2.9: React and D3 charting library.
    • Fable 4.3: F# to JavaScript compiler.
  • And one for luck: btco.github.io/qx82
阅读 20
0 条评论