Skip to content

useDynamicList

描述

管理动态列表的 Hook。

示例

ts
import { useDynamicList } from '@base-web-kits/base-tools-react';

const { list, remove, getKey, push } = useDynamicList(['David', 'Jack']);

来源

ahooks