todo.error.invalid-rules-of-hooks-8566f9a360e2.js — react Source File
Architecture documentation for todo.error.invalid-rules-of-hooks-8566f9a360e2.js, a javascript file in the react codebase.
Entity Profile
Relationship Graph
Source Code
// @skip
// Passed but should have failed
// Invalid because it's dangerous and might not warn otherwise.
// This *must* be invalid.
const MemoizedButton = memo(function (props) {
if (props.fancy) {
useCustomHook();
}
return <button>{props.children}</button>;
});
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does todo.error.invalid-rules-of-hooks-8566f9a360e2.js do?
todo.error.invalid-rules-of-hooks-8566f9a360e2.js is a source file in the react codebase, written in javascript. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in todo.error.invalid-rules-of-hooks-8566f9a360e2.js?
todo.error.invalid-rules-of-hooks-8566f9a360e2.js defines 1 function(s): MemoizedButton.
Where is todo.error.invalid-rules-of-hooks-8566f9a360e2.js in the architecture?
todo.error.invalid-rules-of-hooks-8566f9a360e2.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/rules-of-hooks/todo.error.invalid-rules-of-hooks-8566f9a360e2.js (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/rules-of-hooks).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free