@samitouri / QOS-React / commits / b844766e6c

Update references to Forget to React Compiler

ghstack-source-id: cce73f26b7b3903b8d79b70dbc24cbee09693d81 Pull Request resolved: https://github.com/facebook/react-forget/pull/2927

Joe Savona committed May 2, 2024 at 14:28 UTC b844766e6c1f947f6b81053a386251ebd842ec9f
7 files changed +16 -16
compiler/.github/workflows/rust.yml
+1 -1
@@ -1,4 +1,4 @@
1 -name: Forget (Rust)
1 +name: React Compiler (Rust)
2
3 on:
4 push:
compiler/.github/workflows/typescript.yml
+1 -1
@@ -1,4 +1,4 @@
1 -name: Forget (TypeScript)
1 +name: React Compiler (TypeScript)
2
3 on:
4 push:
compiler/Cargo.toml
+4 -4
@@ -4,12 +4,12 @@ members = ["crates/*"]
4
5 [workspace.package]
6 authors = ["The React Team https://react.dev/community/team"]
7 -description = "React Forget Compiler"
7 +description = "React Compiler"
8 edition = "2021"
9 -homepage = "https://github.com/facebook/react-forget"
10 -keywords = ["JavaScript", "TypeScript", "React", "React Forget", "Forget", "Compiler"]
9 +homepage = "https://github.com/facebook/react"
10 +keywords = ["JavaScript", "TypeScript", "React", "React Compiler", "Compiler"]
11 license = "MIT"
12 -repository = "https://github.com/facebook/react-forget"
12 +repository = "https://github.com/facebook/react"
13
14 [workspace.dependencies]
15 # workspace crates
compiler/README.md
+2 -2
@@ -1,6 +1,6 @@
1 -# React Forget
1 +# React Compiler
2
3 -React Forget is an experimental Babel plugin to automatically memoize React Hooks and Components.
3 +React Compiler is an experimental Babel plugin to automatically memoize React Hooks and Components.
4
5 ## Development
6
compiler/apps/playground/README.md
+6 -6
@@ -1,11 +1,11 @@
1 -# React Forget Playground
1 +# React Compiler Playground
2
3 -An interactive playground to demonstrate, test, and have fun with React Forget.
3 +An interactive playground to demonstrate, test, and have fun with React Compiler.
4
5 ## Setup
6
7 ```sh
8 -# Build Forget from source and install Playground dependencies.
8 +# Build React Compiler from source and install Playground dependencies.
9 $ yarn
10
11 # Or similarly
@@ -21,7 +21,7 @@ $ yarn dev
21 # Or
22 $ npm run dev
23
24 -# Rerun the following (in a separate terminal window) when Forget
24 +# Rerun the following (in a separate terminal window) when React Compiler
25 # is changed locally to keep Playground in sync.
26 $ yarn
27 ```
@@ -30,6 +30,6 @@ $ yarn
30
31 This project has been deployed using Vercel. Vercel does the exact same thing as we would
32 locally, by running `yarn` at the install step in the Playground directory to build
33 -Forget from source and [symlink](https://classic.yarnpkg.com/en/docs/cli/link) it as its dependency.
33 +React Compiler from source and [symlink](https://classic.yarnpkg.com/en/docs/cli/link) it as its dependency.
34 This means that Playground is automatically deployed on every push and pull requests will reflect
35 -the behaviors of Forget of that commit.
35 +the behaviors of React Compiler of that commit.
compiler/apps/playground/public/site.webmanifest
+1 -1
@@ -1,5 +1,5 @@
1 {
2 - "name": "React Forget Playground",
2 + "name": "React Compiler Playground",
3 "short_name": "React REPL",
4 "display": "standalone",
5 "start_url": "/",
compiler/packages/babel-plugin-react-compiler/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "babel-plugin-react-compiler",
3 "version": "0.0.1",
4 - "description": "Babel plugin for React Forget.",
4 + "description": "Babel plugin for React Compiler.",
5 "main": "dist/index.js",
6 "license": "MIT",
7 "files": [