You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: react/src/index.tsx
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,15 @@ import ReactDOM from 'react-dom/client';
23
23
// This can cause Relay to show "Warning: RelayResponseNormalizer: Payload did not contain a value for field" in the browser console during development.
24
24
// It's advisable to ignore these frequent logs in development mode.
25
25
if(process.env.NODE_ENV==='development'){
26
+
// Enable react-grab for AI agent element inspection during development
27
+
import('react-grab').catch((error)=>{
28
+
// eslint-disable-next-line no-console
29
+
console.warn(
30
+
'Failed to load react-grab devtool. AI agent element inspection will be disabled.',
0 commit comments