Drag and Drop with react-beautiful-dnd

Sdílet
Vložit
  • čas přidán 13. 06. 2024
  • This tutorial will teach you how to utilize react-beautiful-dnd in order to build amazing drag-and-drop features within your React application.
    GitHub Repo:
    github.com/harblaith7/React-B...
    Timeline:
    0:00 - 4:38 - Intro
    4:38 - 12:23 - Setup
    12:23 - 27:56 - DragDropContext, Droppable & Draggable
    27:56 - 40:15 - Handling Drag/Drop Events
    40:15 - 59:00 - Multiple Droppables

Komentáře • 50

  • @Shaheer-xs5os
    @Shaheer-xs5os Před 6 měsíci +1

    This is the first time I have watched your video, but explained everything so well... keep it up man, you're an amazing teacher!

  • @RG-sv4qb
    @RG-sv4qb Před 6 měsíci +4

    I see other creators getting credit for making "good" videos on BeautifulDND... clearly those people didn't watch this! Well done, and thank you, amazing video... still don't understand all the props that got passed, but maybe I'm not supposed to!?!?

  • @rishabhsoni985
    @rishabhsoni985 Před 5 měsíci

    Damn this is hands down a top tier explanation I ever saw in any tutorial. Good work man

  • @outclass-agencedeconseil9840

    Incredibly simple and well taught! Thank you very much!

  • @mayrarincones8427
    @mayrarincones8427 Před 3 měsíci

    Now I finished it. Again, thank you so much. The explanation was crystal clear ❤

  • @allengats9184
    @allengats9184 Před 9 měsíci +2

    Thank you for your video tutorial! Like others here, I was stuck for hours searching for simple and easy implementations of DnD libraries and I managed to make it work with your tutorial! Thanks man! keep it up!

    • @gmologyofficial
      @gmologyofficial Před 3 měsíci

      Will this approach work on touch devices? I created a drag and drop list with no library, but it won't work with touch inputs.

  • @RedstoneHair
    @RedstoneHair Před 8 měsíci

    I think this video best summarizes all of beautiful dnd

  • @sandyyeo9267
    @sandyyeo9267 Před 11 měsíci

    Thank you for this video! I was stucked for hours until I followed yours

  • @orkoren2006
    @orkoren2006 Před 11 měsíci

    Thanks man for a great explanation and for teaching a really important skill in React!

  • @appstuff6565
    @appstuff6565 Před 8 měsíci

    before reaching 15 minutes, i loved the explanation at @14:48 with diagram. Thanks! Subbed and Liked and saved!

  • @rounakbhattacherjee5288
    @rounakbhattacherjee5288 Před 2 měsíci

    What a beautiful explanation, you made it so easy, thanks man ❤

  • @aaRept
    @aaRept Před 8 měsíci

    Beautifully explained! Thank you!

  • @user-id3wi8ti8h
    @user-id3wi8ti8h Před rokem +1

    Thank you for detailed explanation!

  • @achrefnabil2463
    @achrefnabil2463 Před rokem +1

    Thanks laith we need more projects with react js

  • @jeffshepherd927
    @jeffshepherd927 Před 6 měsíci

    Excellent tutorial. Thank you

  • @mayrarincones8427
    @mayrarincones8427 Před 3 měsíci

    I haven't finished the video but I need to stop right here!! hahaha THANK YOU SO MUCH! I spent couple of hours yesterday trying to make work two examples of the library in my code and I wasn't able to, always getting THE SAME ERROR: it wasn't finding the item. I was going CRAZY. It was the damn strict mode!! thank yoooou!!!

    • @gmologyofficial
      @gmologyofficial Před 3 měsíci +1

      Will this approach work on touch devices? I created a drag and drop list with no library, but it won't work with touch inputs.

    • @mayrarincones8427
      @mayrarincones8427 Před 3 měsíci +1

      @@gmologyofficial I haven't test it on mobile yet!

  • @user-te1ut5ev8w
    @user-te1ut5ev8w Před rokem +1

    Thank you for tutorial and for big scale interface VSCode - it is important for save helth eyes!
    34:44 - the spread operator do copying only surfacly, and for difficult object need to do deep copying

  • @matthewseneris6095
    @matthewseneris6095 Před 11 měsíci

    my god, you're a hidden gem my guy

  • @louie0187
    @louie0187 Před rokem +1

    Great tutorial. Thank you

  • @prathampanchariya36
    @prathampanchariya36 Před měsícem

    I love you video bro it helps me a lot thanks

  • @ahmedyasser724
    @ahmedyasser724 Před 4 měsíci

    really great tutorial

  • @jgvlc
    @jgvlc Před 4 měsíci

    Thank you very much for share!

  • @mD-mp8bb
    @mD-mp8bb Před rokem

    Amazing Content

  • @alishersaparov8098
    @alishersaparov8098 Před rokem

    Great content

  • @amanullahaman8750
    @amanullahaman8750 Před 6 měsíci

    Thank you brother.

  • @garikmelqonyan6011
    @garikmelqonyan6011 Před 5 měsíci

    Good job!

  • @OmG21097
    @OmG21097 Před 5 měsíci

    Thanks for your effort ❤. Can you make a tutorial for multiple horizontal drag and drop?

  • @fiatluxinregnonoctis
    @fiatluxinregnonoctis Před rokem

    thank you

  • @achrefnabil2463
    @achrefnabil2463 Před 11 měsíci

    Please laith we need paid node js microservices course with serverless + DDD+CQRS+Event sourcing+ clean architecture ❤❤❤❤ you're the best 😍😍

  • @appstuff6565
    @appstuff6565 Před 8 měsíci

    hey thanks for this, i am in a similar issue. I am trying a linktree clone with supabase tables "users" and "links" as a learning experiment. I am using NextJS with Supabase. Right now im at a stage on how do i persist data to display links for a specific user as each user will have its own sorting arrangement. How do you think i should go about it?
    All links are in "links" table and i get them from the user that requests it accordingly.
    any help is appreciated.

  • @user-vd5hj1kh6w
    @user-vd5hj1kh6w Před 4 měsíci

    I'm stuck doing an implementation of this in my own project, where when I do not specify the Droppable type as "group", the destination is coming back as null, even though I'm clearly dropping it over the Droppable component. If I do specify the type as "group", the drop registers... but obviously this won't work for me because I need to implement different logic. Have you ever run into something like this?

  • @First_Code
    @First_Code Před 10 měsíci

    thanks very mush

  • @moylababa8196
    @moylababa8196 Před rokem

    Are there any new courses likely to come?

  • @mahammadali4680
    @mahammadali4680 Před 5 měsíci

    "unable to find draggable with id" this error is showing . can anyone tell me why this is showing and can anyone help me to learn this drag and drop feature

  • @appstuff6565
    @appstuff6565 Před 8 měsíci

    How can we store this new arrangement in a database so it persists?

  • @coolthingsindia
    @coolthingsindia Před 6 měsíci

    I am having problem implementing dnd , my api are working fine but i am encountering this error two children with same id found , i ensured that ids are unique , but still same , can you help?

  • @farukmuhammad9657
    @farukmuhammad9657 Před 8 měsíci +1

    Kai jama'aaaaaa

  • @stc-yk3kx
    @stc-yk3kx Před 11 měsíci +1

    Thanks bro, I suggest check your audio its too low so if the ads pop up it blows up my ears. nah

  • @lifeasdev7480
    @lifeasdev7480 Před 10 měsíci

    where is the live preview?

  • @matheusf6540
    @matheusf6540 Před 10 měsíci

    does it work with nextjs?

  • @mshahzebraza
    @mshahzebraza Před rokem +3

    this library is not supported for 3 years. Doesn't support multi-direction scrolling

    • @akash-kumar737
      @akash-kumar737 Před rokem +1

      Yeah, go with dnd-kit

    • @gmologyofficial
      @gmologyofficial Před 3 měsíci

      Will that approach work on touch devices? I created a drag and drop list with no library, but it won't work with touch inputs.

  • @anasouardini
    @anasouardini Před rokem

    it's not maintained anymore.