== false), [dataSource]); const [{ checkAll, indeterminate }, updater, update] = useUpdate({ checkAll: false, indeterminate: false, }); React.useEffect(() => { const allKeys = map(selectableData, rowKey); const curChosenKeys = intersection(allKeys, selectedRowKeys); update({ checkAll...