RepoJournal
Meta

Meta

React, React Native, and Jest — the open source under what Meta ships

Pick a date

The Wire · Showcase

JEST RUNTIME CLASS GETS MAJOR SURGERY WHILE REACT DEVTOOLS FIXES CROSS-WINDOW HOVER BUG

By RepoJournal · Filed · About Meta

Jest is undergoing a comprehensive refactor to break apart its 3,000-line runtime class, while React DevTools patches a long-standing issue where component highlights persist when you move your mouse out of the inspector panel entirely.

The Jest team is systematically decomposing the monolithic jest-runtime class across a series of PRs [1] [2] [3] [4], extracting resolution logic, transform caches, synthetic module builders, and module executors into separate concerns. This isn't a feature ship—it's architectural debt being aggressively paid down, and it matters because runtime is where test isolation lives. In parallel, a smaller but annoying fix landed in React DevTools [5] that clears component highlights when your pointer leaves the inspector window entirely [6]. Before this, the synthetic event system only fired `onMouseLeave` when moving between elements in the same document, leaving ghost highlights on the inspected page. Jest also fixed an asymmetry where ES module imports weren't caught the same way as CommonJS requires after teardown [7], closing a hole in test isolation error handling.

Action items

References

  1. [1] chore: split out resolution from runtime class ↗ facebook/jest
  2. [2] chore(runtime): extract transform cache and mock registries ↗ facebook/jest
  3. [3] chore: lift synthetic module builders ↗ facebook/jest
  4. [4] chore(runtime): lift module executor ↗ facebook/jest
  5. [5] fix(devtools): clear highlight when mouse leaves DevTools panel (#36177) facebook/react
  6. [6] fix(devtools): clear highlight when mouse leaves DevTools panel ↗ facebook/react
  7. [7] fix: handle `import`s after teardown same as `require` ↗ facebook/jest

FAQ

What changed in Meta on May 3, 2026?
Jest is undergoing a comprehensive refactor to break apart its 3,000-line runtime class, while React DevTools patches a long-standing issue where component highlights persist when you move your mouse out of the inspector panel entirely.
What should Meta teams do about it?
Watch Jest PRs #16081-16084 — major runtime refactor in progress, coordinate if you have custom jest plugins • Update React DevTools to clear the DevTools highlight fix when available
Which Meta repositories shipped on May 3, 2026?
facebook/jest, facebook/react

Related across the cluster

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.