/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
v18.0.0
packages/react-pg/index.js
13 строк
367 B
Dan Abramov
[Flight] Make PG and FS server-only (#20424)
10 дек 2020, 09:15
Не верифицирован
10 дек 2020, 09:15
b15d6e9
Код
Авторство
О чём код?
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ throw new Error( 'React PG cannot be used outside a react-server environment. ' + 'You must configure Node.js using the `--conditions react-server` flag.', );