react实现拖拽的插件

  1. 插件一:dnd-kit
    插件官网链接https://docs.dndkit.com/introduction/installation

  2. 插件二:react-beautiful-dnd
    https://github.com/atlassian/react-beautiful-dnd/tree/master

两个插件的区别:
插件一可以做到从区域A拖住到区域B

插件二用起来简单,但是无法实现插件一的功能

插件一有API
插件二没有API,需要去看github上人家src里面的代码

都是国外的插件,需要仔细研读,不然用起来找api很费劲

相关推荐

  1. react实现

    2024-02-22 22:00:02       57 阅读
  2. React实践

    2024-02-22 22:00:02       72 阅读
  3. React实践

    2024-02-22 22:00:02       66 阅读
  4. React实践

    2024-02-22 22:00:02       52 阅读
  5. React 元素教程 react-dnd 实现

    2024-02-22 22:00:02       62 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-02-22 22:00:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-02-22 22:00:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-02-22 22:00:02       82 阅读
  4. Python语言-面向对象

    2024-02-22 22:00:02       91 阅读

热门阅读

  1. 贪心算法的介绍

    2024-02-22 22:00:02       56 阅读
  2. RESTful API如何使用它构建 web 应用程序。

    2024-02-22 22:00:02       53 阅读
  3. 前端碎碎念

    2024-02-22 22:00:02       51 阅读
  4. 时域去噪:从理论到实践

    2024-02-22 22:00:02       55 阅读
  5. C++从入门到精通 第十六章(STL常用算法)

    2024-02-22 22:00:02       45 阅读
  6. Springboot整合第三方技术-消息

    2024-02-22 22:00:02       46 阅读
  7. 2024/2/20

    2024-02-22 22:00:02       42 阅读
  8. leetcode算法刷题——链表

    2024-02-22 22:00:02       42 阅读
  9. 系统的讨论素数筛法——OI数论

    2024-02-22 22:00:02       62 阅读