GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Since 5.7.2: Using JSX fragments requires fragment factory 'React' to be in scope, but it could not be found. · Issue #60603 · microsoft/TypeScript Closed Labels Needs InvestigationThis issue needs a team member to investigate its status. Description🔎 Search TermsSearch/Keywords: Using JSX fragments requires fragment factory 'React' to be in scope, but it could not be found. 🕗 Version & Regression InformationSince 5.7.2. No 5.7.0 or 5.7.1 available. OK in 5.6.3 ⏯ Playground Link💻 Code<> <h1>Logged Out</h1> </> 🙁 Actual behaviorSince TS 5.7.2 JSX Fragments are no longer accepted. Compile error: error TS2879: Using JSX fragments requires fragment factory 'React' to be in scope, but it could not be found. 🙂 Expected behaviorJSX Fragments should continue to work Additional information about the issueI have a custom JSX setup, I'm not using React. Compiled output: import { jsx as _jsx, Fragment as _Fragment } from "tungsten/jsxRuntime.js"; ... _jsx(_Fragment, { children: _jsx("h1", { children: "Logged Out" }) }) The error message about React is odd, JSX and React are independent, why would React anything be needed to use JSX fragments? Reacted by Mads Erik Forberg, Jartreg, Arseniy Ivanov and Max Patiiuk Activity
MetadataMetadataAssigneesLabelsNeeds InvestigationThis issue needs a team member to investigate its status. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |