SinachPatandClaude Sonnet 4.6 1a5d84cb58 fix: make hook.inject robust against React Refresh timing race
Root cause: the React DevTools browser extension injects a hook stub at
document_start (before HTML parsing), so hook.inject can be undefined
when React Fast Refresh runs. React Refresh destructures inject as
undefined and later calls undefined.apply() -> TypeError. This prevents
React from ever setting injectedHook, so onCommitFiberRoot is never called.

Fix: unconditionally replace hook.inject with a wrapper that tries the
captured previous inject (with try/catch) then falls back to our own
renderer ID allocation. Works regardless of script execution order.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 17:11:01 +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%