Multiple List Drag and Drop in React [Easiest Way]

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 เม.ย. 2024
  • Let's see how to implement drag and drop feature in React application. In this tutorial, we will not use any library. We will use HTML5 drop events to create React drag and drop.
    🚀Access My Complete React JS Course: www.udemy.com/course/the-ulti...
    💙Register for FREE Git and Github Course - forms.gle/U4cnzMX1EkWPHdX89
    💌Join my FREE Email News Letter for updates: codeblessyou.ck.page/newsletter
    Resources for this Application - drive.google.com/file/d/1DdWO...
    🤩MY FAVORITE TOOLS & GEARS
    Height Adjustable Desk - amzn.to/42qPZkb
    Old Desk in Budget - amzn.to/3UlaFbm
    Favorite Laptop - amzn.to/3OrqmKa
    LG Monitor for Productivity - amzn.to/3uqA5tv
    Silent Keyboard(Loved It) - amzn.to/3UjagGv
    Mouse & Keyboard Combo - amzn.to/3Sq50hs
    Extra Large Mouse Pad - amzn.to/48Nhcjv
    Sony Headphones - amzn.to/3HHjYed
    Cheap Earphones for Editing - amzn.to/48eBykN
    Daily Use Laptop Stand - amzn.to/3Uj8JQL
    Mini Speakers for Consuming Content - amzn.to/48YgAaK
    Mport X Connector - amzn.to/3UoHsML
    Mic - amzn.to/48eCrtD
    3 Color Lightbar - amzn.to/42qgaaW
    Dual Monitor Stand - amzn.to/48Nixa1
    Stop Watch for Productivity - amzn.to/3Un1RBW
    Dotted Diary - amzn.to/3vYBWq1
    Write in comment section, Which extension you will use for the future React Project.
    ⏬Music & Sound Effects from: share.epidemicsound.com/7fhc2o
    Copyright
    Arrow - www.flaticon.com/free-icons/a...
    Grab - iconduck.com/icons/259624/cur...
    Social Media Links
    🚀COURSES : www.udemy.com/user/code-bless...
    💌News Letter : codeblessyou.ck.page/newsletter
    🤩INSTAGRAM : / code_blessyou
    💙FACEBOOK : / 100077716056158
    🐦TWITTER : / code_blessyou
    😎LINKEDIN : / code-bless-you-5b76822b
    Tags
    code bless you,react drag and drop,drag and drop react,react drag and drop no library,drag and drop,react drag and drop list,drag and drop javascript,react,drag and drop react js,drag and drop in react,react drag and drop tutorial,drag and drop tutorial,react drag & drop,how to react drag and drop,react drag and drop examples,how to react drag and drop list,reactjs drag and drop,how to react js drag and drop,react drag and drop image upload

ความคิดเห็น • 27

  • @wannabe_Akshat
    @wannabe_Akshat หลายเดือนก่อน +1

    Beautifully explained ❤ Will surely use this in my future projects 🙌🏻

    • @CodeBlessYou
      @CodeBlessYou  หลายเดือนก่อน

      Glad to hear that. Thank you so much❤❤❤

  • @SonRayS
    @SonRayS 11 วันที่ผ่านมา

    Perfect! no, just great! Thank you!

    • @CodeBlessYou
      @CodeBlessYou  5 วันที่ผ่านมา

      Thank you so much❤❤❤

  • @dangetiharibabu886
    @dangetiharibabu886 หลายเดือนก่อน

    Bro You explanation clearly and good

    • @CodeBlessYou
      @CodeBlessYou  หลายเดือนก่อน

      Thank you so much. Glad to hear that❤❤❤

  • @ewerpop
    @ewerpop 2 วันที่ผ่านมา

    nice tutorial, waiting new videos

  • @CodeBlessYou
    @CodeBlessYou  2 วันที่ผ่านมา

    💙Register for FREE Git and Github Course - forms.gle/U4cnzMX1EkWPHdX89

  • @pratikpattnaik3425
    @pratikpattnaik3425 หลายเดือนก่อน +1

    First i used this:
    const updatedTasks = tasks.filter((task, index) => {
    index !== activeCard;
    });
    and then i dragged a card but everything else got erased. But when i removed curly braces and ; in the arrow function and it worked fine. Can u explain why

    • @CodeBlessYou
      @CodeBlessYou  หลายเดือนก่อน +1

      because in callback function, we have to return condition. And if you add curly brackets then you have to do return index !== activeCard; So that's why in short we can directly write index !== activeCard without curly brackets.

    • @HarshaVardhan-fu9kv
      @HarshaVardhan-fu9kv หลายเดือนก่อน

      You can use return (index!=activeCard);

  • @Andi0391
    @Andi0391 หลายเดือนก่อน

    conditiooooon | aaaaand teeekalook

  • @bede114
    @bede114 7 วันที่ผ่านมา

    Hey man, is there any way to make the opacity of the dragging component 100% , I'm trying it still not getting full opacity!!

    • @CodeBlessYou
      @CodeBlessYou  7 วันที่ผ่านมา

      I think no. We can't get full opacity

  • @coppergold2916
    @coppergold2916 หลายเดือนก่อน +1

    I followed your code and couldn't get drag to work on an empty column. (aka drag to an empty column)

    • @CodeBlessYou
      @CodeBlessYou  หลายเดือนก่อน

      Check where you are getting drop here area in your empty column. And style according to that❤❤❤

    • @krishparmar7917
      @krishparmar7917 5 วันที่ผ่านมา

      did you fix this issue? if yes then how!!

    • @krishparmar7917
      @krishparmar7917 5 วันที่ผ่านมา

      @@CodeBlessYou i did not get it. can you explain how can we do that?

    • @CodeBlessYou
      @CodeBlessYou  5 วันที่ผ่านมา

      @@krishparmar7917 You have to drag that box to the very top of the empty column. Then it works

    • @krishparmar7917
      @krishparmar7917 5 วันที่ผ่านมา

      @@CodeBlessYou now it is working 🎉

  • @user-Amankhowal
    @user-Amankhowal 17 วันที่ผ่านมา

    add "Feature" in your title