mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
Update references to Forget to React Compiler
ghstack-source-id: cce73f26b7b3903b8d79b70dbc24cbee09693d81 Pull Request resolved: https://github.com/facebook/react-forget/pull/2927
This commit is contained in:
parent
48e0c70292
commit
b844766e6c
2
compiler/.github/workflows/rust.yml
vendored
2
compiler/.github/workflows/rust.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: Forget (Rust)
|
||||
name: React Compiler (Rust)
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
|
|||
2
compiler/.github/workflows/typescript.yml
vendored
2
compiler/.github/workflows/typescript.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: Forget (TypeScript)
|
||||
name: React Compiler (TypeScript)
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ members = ["crates/*"]
|
|||
|
||||
[workspace.package]
|
||||
authors = ["The React Team https://react.dev/community/team"]
|
||||
description = "React Forget Compiler"
|
||||
description = "React Compiler"
|
||||
edition = "2021"
|
||||
homepage = "https://github.com/facebook/react-forget"
|
||||
keywords = ["JavaScript", "TypeScript", "React", "React Forget", "Forget", "Compiler"]
|
||||
homepage = "https://github.com/facebook/react"
|
||||
keywords = ["JavaScript", "TypeScript", "React", "React Compiler", "Compiler"]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/facebook/react-forget"
|
||||
repository = "https://github.com/facebook/react"
|
||||
|
||||
[workspace.dependencies]
|
||||
# workspace crates
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# React Forget
|
||||
# React Compiler
|
||||
|
||||
React Forget is an experimental Babel plugin to automatically memoize React Hooks and Components.
|
||||
React Compiler is an experimental Babel plugin to automatically memoize React Hooks and Components.
|
||||
|
||||
## Development
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
# React Forget Playground
|
||||
# React Compiler Playground
|
||||
|
||||
An interactive playground to demonstrate, test, and have fun with React Forget.
|
||||
An interactive playground to demonstrate, test, and have fun with React Compiler.
|
||||
|
||||
## Setup
|
||||
|
||||
```sh
|
||||
# Build Forget from source and install Playground dependencies.
|
||||
# Build React Compiler from source and install Playground dependencies.
|
||||
$ yarn
|
||||
|
||||
# Or similarly
|
||||
|
|
@ -21,7 +21,7 @@ $ yarn dev
|
|||
# Or
|
||||
$ npm run dev
|
||||
|
||||
# Rerun the following (in a separate terminal window) when Forget
|
||||
# Rerun the following (in a separate terminal window) when React Compiler
|
||||
# is changed locally to keep Playground in sync.
|
||||
$ yarn
|
||||
```
|
||||
|
|
@ -30,6 +30,6 @@ $ yarn
|
|||
|
||||
This project has been deployed using Vercel. Vercel does the exact same thing as we would
|
||||
locally, by running `yarn` at the install step in the Playground directory to build
|
||||
Forget from source and [symlink](https://classic.yarnpkg.com/en/docs/cli/link) it as its dependency.
|
||||
React Compiler from source and [symlink](https://classic.yarnpkg.com/en/docs/cli/link) it as its dependency.
|
||||
This means that Playground is automatically deployed on every push and pull requests will reflect
|
||||
the behaviors of Forget of that commit.
|
||||
the behaviors of React Compiler of that commit.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "React Forget Playground",
|
||||
"name": "React Compiler Playground",
|
||||
"short_name": "React REPL",
|
||||
"display": "standalone",
|
||||
"start_url": "/",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "babel-plugin-react-compiler",
|
||||
"version": "0.0.1",
|
||||
"description": "Babel plugin for React Forget.",
|
||||
"description": "Babel plugin for React Compiler.",
|
||||
"main": "dist/index.js",
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user