Drag and Drop with react-beautiful-dnd

Поделиться
HTML-код
  • Опубликовано: 13 июн 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

Комментарии • 50

  • @Shaheer-xs5os
    @Shaheer-xs5os 6 месяцев назад +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 6 месяцев назад +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 5 месяцев назад

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

  • @outclass-agencedeconseil9840
    @outclass-agencedeconseil9840 8 месяцев назад

    Incredibly simple and well taught! Thank you very much!

  • @mayrarincones8427
    @mayrarincones8427 3 месяца назад

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

  • @allengats9184
    @allengats9184 9 месяцев назад +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 3 месяца назад

      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 8 месяцев назад

    I think this video best summarizes all of beautiful dnd

  • @sandyyeo9267
    @sandyyeo9267 11 месяцев назад

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

  • @orkoren2006
    @orkoren2006 11 месяцев назад

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

  • @appstuff6565
    @appstuff6565 8 месяцев назад

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

  • @rounakbhattacherjee5288
    @rounakbhattacherjee5288 2 месяца назад

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

  • @aaRept
    @aaRept 8 месяцев назад

    Beautifully explained! Thank you!

  • @user-id3wi8ti8h
    @user-id3wi8ti8h Год назад +1

    Thank you for detailed explanation!

  • @achrefnabil2463
    @achrefnabil2463 Год назад +1

    Thanks laith we need more projects with react js

  • @jeffshepherd927
    @jeffshepherd927 6 месяцев назад

    Excellent tutorial. Thank you

  • @mayrarincones8427
    @mayrarincones8427 3 месяца назад

    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 3 месяца назад +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 3 месяца назад +1

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

  • @user-te1ut5ev8w
    @user-te1ut5ev8w Год назад +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 11 месяцев назад

    my god, you're a hidden gem my guy

  • @louie0187
    @louie0187 Год назад +1

    Great tutorial. Thank you

  • @prathampanchariya36
    @prathampanchariya36 Месяц назад

    I love you video bro it helps me a lot thanks

  • @ahmedyasser724
    @ahmedyasser724 4 месяца назад

    really great tutorial

  • @jgvlc
    @jgvlc 4 месяца назад

    Thank you very much for share!

  • @mD-mp8bb
    @mD-mp8bb Год назад

    Amazing Content

  • @alishersaparov8098
    @alishersaparov8098 Год назад

    Great content

  • @amanullahaman8750
    @amanullahaman8750 6 месяцев назад

    Thank you brother.

  • @garikmelqonyan6011
    @garikmelqonyan6011 5 месяцев назад

    Good job!

  • @OmG21097
    @OmG21097 5 месяцев назад

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

  • @fiatluxinregnonoctis
    @fiatluxinregnonoctis Год назад

    thank you

  • @achrefnabil2463
    @achrefnabil2463 11 месяцев назад

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

  • @appstuff6565
    @appstuff6565 8 месяцев назад

    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 4 месяца назад

    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 10 месяцев назад

    thanks very mush

  • @moylababa8196
    @moylababa8196 Год назад

    Are there any new courses likely to come?

  • @mahammadali4680
    @mahammadali4680 5 месяцев назад

    "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 8 месяцев назад

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

  • @coolthingsindia
    @coolthingsindia 6 месяцев назад

    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 8 месяцев назад +1

    Kai jama'aaaaaa

  • @stc-yk3kx
    @stc-yk3kx 11 месяцев назад +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 10 месяцев назад

    where is the live preview?

  • @matheusf6540
    @matheusf6540 10 месяцев назад

    does it work with nextjs?

  • @mshahzebraza
    @mshahzebraza Год назад +3

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

    • @akash-kumar737
      @akash-kumar737 Год назад +1

      Yeah, go with dnd-kit

    • @gmologyofficial
      @gmologyofficial 3 месяца назад

      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 Год назад

    it's not maintained anymore.