-
Notifications
You must be signed in to change notification settings - Fork 46.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[compiler] Scaffold fixture library (#31148)
Scaffolds an empty library to test backwards compatibility with the compiler enabled. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/31148). * #31167 * #31166 * #31165 * #31164 * __->__ #31148 * #31168
- Loading branch information
Showing
4 changed files
with
1,691 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Reference library compiled with React Compiler. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
throw new Error('Not implemented yet'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "runtime-compat-lib", | ||
"version": "0.0.0", | ||
"description": "Testing ground for libraries compiled with React Compiler", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo 'no tests'" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@babel/cli": "^7.25.7", | ||
"@babel/core": "^7.25.7", | ||
"@babel/preset-env": "^7.25.7", | ||
"babel-plugin-react-compiler": "0.0.0-experimental-58c2b1c-20241009" | ||
}, | ||
"dependencies": { | ||
"react-compiler-runtime": "0.0.0-experimental-8d8e73f-20241009" | ||
} | ||
} |
Oops, something went wrong.