React Drag And Drop (dnd-kit) | Beginners Tutorial

preview_player
Показать описание
This tutorial is designed for beginners looking to integrate drag-and-drop functionality into a React project using dnd-kit. The focus is on creating a practical to-do list application, where users can add tasks and easily reorder them through drag-and-drop actions. The step-by-step guide covers the implementation of drag-and-drop interactions in a straightforward manner, with a specific emphasis on touch screen support to ensure compatibility across various devices. By following this tutorial, you'll gain a practical understanding of incorporating these features into your React applications.

-- 🌟 Useful Tools and Software 🌟 --

-- 🔗 Links 🔗 --

DISCLAIMER: Some of the links in the description are affiliate links. The channel will receive a small commission from any sales from these links, but there is no extra charge to you. Thanks for supporting the channel so I can keep making these free tutorials!

Chapters:
00:00 Introduction
00:16 Libraries comparison
01:05 dnd-kit setup
03:24 Column component (droppable area)
06:08 Task component (draggable item)
09:46 Position calculation function
12:31 Touch + Keyboard controls
14:00 Input + Add Task
16:55 Conclusion
Рекомендации по теме
Комментарии
Автор

Excellent clarity and just what is needed ! Many thanks. 👍👍

narendrasudrik
Автор

The most simple and easy to understand explanation. Salute 🫡🫡 your teaching skill.

UmaSahni.
Автор

Dude I can't even describe to you how much you have helped me. Thank you so much for such a great tutorial, I loved your explanation for using it and the other options. Everything was clear and simple, man you just got a new subscriber.

yoastertoaster
Автор

the video was great, can you make a video for kanbanboard using dndkit without typescript. as all the videos on yt for kanbanboard are in typescript

karankka
Автор

Hello, thanks for the tutorial. But i have an issue, i can't add a clickable element to the draggable element. The onclick doesn't work. For example adding a delete button to a task.
Thanks

ArtAssaf
Автор

Thank but if you drag and dropping components stored inside the database

gabrielmokhele
Автор

Good going creator. Can you please teach the basics of coding to Gen X or Bloomers. That would be an interesting video and would help slightly older people like me to understand coding.

kaushikid
Автор

excellent! thank you for that intro, explaining which package to choose! I liked and subscribed

allhailalona
Автор

Finally...3rd tutorial I tried and worked for my Next app. Thank you

MartinSil-
Автор

Can someone tell how to persist like if I have data in a database and I want to persist the actual order then how to do that.

prashantbansal
Автор

Video is a great help - good luck getting more subscribers
Watching from UK

RUFeelin
Автор

You are gonna long way man. Keep posting such content🙌

shubhamtarade
Автор

as soon as drag and perform make api request using redux save new data after dandd

deepmane
Автор

Thank god, this channel is there for helping me at right time.

tatatabletennis
Автор

Thanks a lot.
you explained it amazingly.

MohsinNaqvi-jkqi
Автор

Thank you for your smart video keep up the good work

meleseayichlie
Автор

Very helpful and easy to understand, nice video

hikemalliday
Автор

Is there any way to add a button in the Task component to delete a task with an onClick event?

sangeethasr
Автор

thank you for such a wonderful tutorial, it helped me a lot.

vaibhavpant
Автор

why i have an error in props like this 'tasks' is missing in props validation

Rafiramdhani