SinachPatandClaude Sonnet 4.6 f707ecd7b3 fix: broaden captureExistingTree to find React root in Next.js App Router
Next.js 13+ App Router calls hydrateRoot on <html> or <body> directly
(not on a #__next div), so __reactFiber$ annotations land on
document.documentElement or document.body.

Changes:
- Add document.documentElement to the candidate list (covers App Router)
- Extract getFiber() helper to remove repeated key-scan loop
- Add DOM-wide fallback scan (querySelectorAll('*')) so any React app
  is found regardless of its root container convention
- Remove the early !tree bail-out — post FIBER_TREE_UPDATE even with a
  sparse tree, matching onCommitFiberRoot's behaviour

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 10:52:27 +01:00
2026-05-04 12:30:56 +01:00
2026-04-23 09:39:01 +01:00
2026-05-03 20:34:18 +01:00
2026-05-06 22:11:40 +01:00
2026-04-26 21:33:59 +01:00
2026-04-23 09:39:01 +01:00
2026-04-30 16:47:26 +01:00
2026-04-23 04:20:14 +01:00
2026-04-23 04:20:14 +01:00
2026-04-23 04:20:14 +01:00
2026-04-23 04:20:14 +01:00
2026-04-23 04:20:14 +01:00
2026-05-04 12:30:56 +01:00
2026-05-06 22:11:40 +01:00
2026-04-23 09:39:01 +01:00
2026-04-29 12:09:18 +01:00
2026-04-23 10:07:07 +01:00
2026-04-23 09:39:01 +01:00
S
Description
The Agentic WordPress Management Platform. Just describe what you want. Wursor does the rest.
1.9 MiB
Languages
TypeScript 82.8%
PHP 10.2%
CSS 6.2%
HTML 0.4%
Shell 0.4%