mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 00:20:28 +01:00
Updates the compiler to always import from `react-compiler-runtime` by default. The runtime then decides whether to use the official or userspace implementation of useMemoCache.
11 lines
350 B
Bash
Executable File
11 lines
350 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
set -eo pipefail
|
|
|
|
yarn --silent workspace react-compiler-runtime link
|
|
yarn --silent workspace babel-plugin-react-compiler link react-compiler-runtime
|