todo.error.invalid-rules-of-hooks-368024110a58.js — react Source File
Architecture documentation for todo.error.invalid-rules-of-hooks-368024110a58.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 FancyButton = forwardRef(function (props, ref) {
if (props.fancy) {
useCustomHook();
}
return <button ref={ref}>{props.children}</button>;
});
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does todo.error.invalid-rules-of-hooks-368024110a58.js do?
todo.error.invalid-rules-of-hooks-368024110a58.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-368024110a58.js?
todo.error.invalid-rules-of-hooks-368024110a58.js defines 1 function(s): FancyButton.
Where is todo.error.invalid-rules-of-hooks-368024110a58.js in the architecture?
todo.error.invalid-rules-of-hooks-368024110a58.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/rules-of-hooks/todo.error.invalid-rules-of-hooks-368024110a58.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