SinachPatandClaude Sonnet 4.6 d1d5e352c8 fix: add inject() to DevTools hook so React actually calls onCommitFiberRoot
React's injectInternals() calls hook.inject(renderer) before it will ever
invoke onCommitFiberRoot. When inject is missing, React's try/catch silently
bails and injectedHook stays null — our handler is never reached regardless
of how correctly onCommitFiberRoot is set up.

Fix: define inject() on the hook we create (returns a renderer ID and stores
the renderer in hook.renderers, matching the React DevTools spec). Also
patches inject onto any existing stub hook that lacks it, so third-party
minimal hooks don't silently block registration.

This is the root cause of the 'Static HTML page' false positive on apps
that don't have the React DevTools browser extension installed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 14:04:29 +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%