jsx-preserve-escape-character.js — react Source File
Architecture documentation for jsx-preserve-escape-character.js, a javascript file in the react codebase.
Entity Profile
Relationship Graph
Source Code
/**
* Fixture showing `@babel/generator` bug with jsx attribute strings containing
* escape sequences. Note that this is only a problem when generating jsx
* literals.
*
* When using the jsx transform to correctly lower jsx into
* `React.createElement` calls, the escape sequences are preserved correctly
* (see evaluator output).
*/
function MyApp() {
return <input pattern="\w" />;
}
export const FIXTURE_ENTRYPOINT = {
fn: MyApp,
params: [],
};
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does jsx-preserve-escape-character.js do?
jsx-preserve-escape-character.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 jsx-preserve-escape-character.js?
jsx-preserve-escape-character.js defines 1 function(s): MyApp.
Where is jsx-preserve-escape-character.js in the architecture?
jsx-preserve-escape-character.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/jsx-preserve-escape-character.js (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free