Skip to content

Commit da2868d

Browse files
committed
Remove Flare from devtools-symbols and code.json
1 parent 6aade9f commit da2868d

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

packages/react-devtools-shared/src/backend/ReactSymbols.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ export const PROFILER_SYMBOL_STRING = 'Symbol(react.profiler)';
5858
export const PROVIDER_NUMBER = 0xeacd;
5959
export const PROVIDER_SYMBOL_STRING = 'Symbol(react.provider)';
6060

61-
export const RESPONDER_NUMBER = 0xead6;
62-
export const RESPONDER_SYMBOL_STRING = 'Symbol(react.responder)';
63-
6461
export const SCOPE_NUMBER = 0xead7;
6562
export const SCOPE_SYMBOL_STRING = 'Symbol(react.scope)';
6663

scripts/error-codes/codes.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,6 @@
322322
"321": "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.",
323323
"322": "forwardRef requires a render function but was given %s.",
324324
"323": "React has blocked a javascript: URL as a security precaution.",
325-
"324": "An event responder context was used outside of an event cycle. Use context.setTimeout() to use asynchronous responder context outside of event cycle .",
326-
"325": "addRootEventTypes() found a duplicate root event type of \"%s\". This might be because the event type exists in the event responder \"rootEventTypes\" array or because of a previous addRootEventTypes() using this root event type.",
327325
"326": "Expected a valid priority level",
328326
"327": "Should not already be working.",
329327
"328": "Should have a work-in-progress.",
@@ -334,17 +332,13 @@
334332
"333": "This should have a parent host component initialized. This error is likely caused by a bug in React. Please file an issue.",
335333
"334": "accumulate(...): Accumulated items must not be null or undefined.",
336334
"335": "ReactDOMServer does not yet support the event API.",
337-
"336": "The \"%s\" event responder cannot be used via the \"useEvent\" hook.",
338-
"337": "An invalid event responder was provided to host component",
339335
"338": "ReactDOMServer does not yet support the fundamental API.",
340-
"339": "An invalid value was used as an event listener. Expect one or many event listeners created via React.unstable_useResponder().",
341336
"340": "Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.",
342337
"341": "We just came from a parent so we must have had a parent. This is a bug in React.",
343338
"342": "A React component suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.",
344339
"343": "ReactDOMServer does not yet support scope components.",
345340
"344": "Expected prepareToHydrateHostSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.",
346341
"345": "Root did not complete. This is a bug in React.",
347-
"346": "An event responder context was used outside of an event cycle.",
348342
"348": "ensureListeningTo(): received a container that was not an element node. This is likely a bug in React.",
349343
"349": "Expected a work-in-progress root. This is a bug in React. Please file an issue.",
350344
"350": "Cannot read from mutable source during the current render without tearing. This is a bug in React. Please file an issue.",

0 commit comments

Comments
 (0)