Aller au contenu principal

πŸ“¨ #281: Next.js, TanStack, Security, Redact, React Router, Waku, HTML React Parser | Redraw, Expo, Tabs, Screens, Pressable, Activity, Strict DOM, Rock, SWC, Argent Rozenite | TC39, Rolldown, Node, Jest, Bun, npm, Playwright

Β· 12 minutes de lecture
SΓ©bastien Lorber
Newsletter creator - Docusaurus maintainer
Jan Jaworski
React Native Developer
πŸ‡«πŸ‡· Non traduit :/
Malheureusement, cette page n'a pas encore Γ©tΓ© traduite en franΓ§ais. Reviens un peu plus tard!

Hi everyone, Seb and Jan here πŸ‘‹!

This week, security is making headlines, as two major React frameworks have announced vulnerabilities and compromised npm packages!

William Candillon unveiled his secret project: a new set of 2D primitives for React Native and the web.

It’s also an exciting week full of interesting releases all around the JS ecosystem!

Let's dive in!

As always, thanks for supporting us on your favorite platform:

Ne manque pas le prochain email !

    πŸ’Έ Sponsor​

    β€―AI That Gets React Native on Fire TVβ€―

    β€―AI That Gets React Native on Fire TVβ€―

    We built an MCP server for Vega OS, our new React Native TV platform for Fire TV.β€―

    Amazon Devices Builder Tools MCP gives your AI agent deep platform context, so instead of generic React Native suggestions, your agent understands how to scaffold correctly, integrate platform features, and follow Vega conventions.β€―

    Explore building for TV without the friction of learning a new platform from scratch.β€―It'sβ€―a step toward making our developer tooling as modern as the platform itself.β€―One command to install.

    βš›οΈ React​

    Next.js May 2026 security release

    Next.js May 2026 security release

    The Next.js team shipped a coordinated security release fixing 13 vulnerabilities across denial of service, middleware/proxy bypass, server-side request forgery, cache poisoning, XSS. Many vulnerabilities are quite impactful, cannot be blocked by cloud firewalls, and it’s recommended to update immediately to a patched version, v15.5.18 or v16.2.6. There’s also a Server Functions denial of service affecting React RSC packages, fixed in v19.2.6.

    TanStack npm supply-chain compromise

    TanStack npm supply-chain compromise

    On May 11, an attacker published malicious versions across 42 @tanstack/* npm packages related to TanStack Router. Although the attack was detected quickly, its payload is a Mini Shai-Hulud worm that infected other maintainers, leading to other compromised packages across npm and pypi ecosystems, including packages from Mistral AI, OpenSearch, UiPath, and more.

    The attack vector was sneaky. A GitHub Action with a pull_request_target trigger was used to inject poisoned content into a shared GitHub Action pnpm cache. Then, their release pipeline read from that poisoned cache, restoring dangerous files that executed during the release process. No maintainer was hacked in the process. The npm releases have the Trusted Publishing checkmark despite being compromised, showing that package provenance does not guarantee its content is safe.

    Given the increasing number of supply chain vulnerabilities affecting npm packages, it’s good to highlight measures that maintainers and users can take to stay safe:

    • πŸ“œ Hardening TanStack After the npm Compromise - Gives a good overview of what maintainers can do to reduce the supply chain risk. Low-hanging fruits include avoiding the very dangerous pull_request_target trigger, and removing usage of shared caches in sensitive workflow (note: actions such as setup-node using a cache by default).
    • πŸ”— npm package manager Security Best Practices - A canonical resource to protect yourself as an npm package consumer, giving pragmatic recommendations for each package manager. IMHO, combining the Socket Firewall with pnpm 11 is likely the best option right now.

    Ne manque pas le prochain email !

      πŸ’Έ Sponsor​

      Tests are dead - Meticulous is here

      Tests are dead - Meticulous is here

      Meticulous creates and maintains an exhaustive suite of e2e ui tests with zero developer effort.Β 

      This quote from the CTO of Traba sums the productΒ up best: "Meticulous has fundamentally changed the way we approach frontend testing in our web applications, fully eliminating the need to write any frontend tests. The software gives us confidence that every change will be completely regression tested, allowing us to ship more quickly with significantly fewer bugs in our code. The platform is easy to use and reduces the barrier to entry for backend-focused devs to contribute to our frontend codebase."

      Meticulous is used by companies like Notion, Dropbox, Wiz, LaunchDarkly, and many others.

      This postΒ from our CTO sets out the context of why exhaustive testing can double engineering velocity.

      πŸ“± React-Native​

      Redraw - 2D graphics primitives, powered by WebGPU

      Redraw - 2D graphics primitives, powered by WebGPU

      In an amazing introduction video, William Candillon presented what he’s been secretly working on for months: a new grade of 2D graphics primitives, powered by WebGPU. It’s still a technical preview and not open-source yet, but William is looking to make it source-available soon with a license that makes it sustainable.

      It all started with "Can it be done in React Native?", led to Skia on native, then WebGPU for unified 2D/3D composition across platforms. Redraw is the next step: bringing GPU-accelerated vector rendering with rich geometric information back to both native and web.

      What it unlocks:

      • Variable strokes - stroke width driven by path geometry (tangent, arc length)
      • Color along path - gradient callbacks mapped to arc length or distance
      • Vector feathering - soft shadows, blur, and glow without rasterization
      • Physically-based rendering - material effects computed directly on vector paths
      • Non-physically-based rendering - creative effects impossible with raster pipelines

      Built for composability:

      • Compute shaders powered via TypeGPU (optional dependency)
      • Zero-cost integration with Skia, Three.js, PixiJS, and WebGPU
      • Write shader logic in TypeScript, no WGSL required

      πŸ”€ Other​

      🀭 Fun​

      alt

      See ya! πŸ‘‹


      Ne manque pas le prochain email !