Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/rc-util/es/hooks/useEffect.js
Назад
import * as React from 'react'; /** As `React.useEffect` but pass origin value in callback and not need care deps length change. */ export default function useEffect(callback, deps) { var prevRef = React.useRef(deps); React.useEffect(function () { if (deps.length !== prevRef.current.length || deps.some(function (dep, index) { return dep !== prevRef.current[index]; })) { callback(prevRef.current); } prevRef.current = deps; }); }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка