This React Drag and Drop Component Is Magic

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • НаукаНаука

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

  • @developedbyed
    @developedbyed  7 месяцев назад +47

    I’ll be gone for 2 days for my birthday trip, but when I’m back we will get back on the Typescript series and get ready to release the huge Next 14 course.
    Lots of love ❤️

  • @socialsales2181
    @socialsales2181 5 месяцев назад +8

    Magic is a scary word when it comes to development.

  • @MrREALball
    @MrREALball 7 месяцев назад +10

    ‼‼For anyone watching, there are two GIANT problem with framer-motion reorder lists.
    Fist, they don't work well with scrollable lists. When you drag to the edge its doesn't auto scroll. Also, the items behave strangely while draggin on scrollable lists.
    Second, they don't support keyboard events. You have to implement those by yourself.
    Better solution would be to use dnd-kit. It isn't much more work. I gave the task of porting draggable lists from react-beautiful-dnd to dnd-kit to a junior dev and he did it in a few days. And the way I told him to setup a reusable context component makes it even simpler to use than the framer-motion one.

    • @dylankuzmick3122
      @dylankuzmick3122 3 месяца назад +2

      Man u just saved my butt, thx!

    • @nmeri2935
      @nmeri2935 26 дней назад

      Well, I tried using react dnd and it just keeps throwing overload errors and this worked just fine.

  • @ChrisTOLAa
    @ChrisTOLAa 7 месяцев назад +22

    Happy Birthday Funny Prog.😀

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

    Been watching a lot of your videos, and I have to say, you are hands down the best React, Tailwind, and Next.js tutor on the internet right now! Your explanations are clear, practical, and easy to follow. I've been building my own full-stack apps thanks to your guidance, and I'm really considering buying your course soon. Keep up the amazing work, and thanks for all you do!

  • @ladokakhashvili8820
    @ladokakhashvili8820 7 месяцев назад +1

    Dude, absolutely love your energy. You have a face of a man that actually loves his job 💙 inspiring...

  • @stahlmandesign
    @stahlmandesign 7 месяцев назад +2

    Great video. I've used DND packages for years and it's never been this clear and easy. I also like Framer more and more

  • @AyomidePaulAsaniyan
    @AyomidePaulAsaniyan 7 месяцев назад +2

    This was really helpful.
    Currently working on a project where I implemented something similar to this using dnd-kit.
    This feels more straightforward, I'm definitely trying this out.
    Thanks a lot Ed.

  • @RicoCollins
    @RicoCollins 7 месяцев назад +1

    You posted this 5 days ago, and TODAY I have a story on my plate...for this feature. I love you and your timing so...much. Happy Birthday, mate.

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

    please mention the libraries used in the video title or at least the description.

  • @genie_dev
    @genie_dev 7 месяцев назад +2

    What's that wallpaper?

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

    Can u make a full course about framer motion plz?

  • @deveshsharma4585
    @deveshsharma4585 7 месяцев назад +1

    Happy birthday bro 🎉 , can u make a video about your vscode setup including extensions

  • @Ngocthach135able
    @Ngocthach135able 7 месяцев назад

    Can you share your VS Code settings and themes? They look really cool!

  • @asibe_cheta
    @asibe_cheta 21 день назад

    You’re the channel I’ve been looking for! 🎉 Happy birthday

  • @DevMadeEasy
    @DevMadeEasy 7 месяцев назад

    Wow, Great Content, thanks for sharing it...

  • @zeeksthegoblin7564
    @zeeksthegoblin7564 7 месяцев назад +3

    Happy bday! Enjoy ur trip!

  • @ShubhamKute-qj8uv
    @ShubhamKute-qj8uv 6 месяцев назад

    Hi Ed!!
    Can you please tell me which file upload library you have used in the above video and which one you will recommend?
    Awaiting your response...

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

    프로그램을 하면서 즐거워하시는 모습이 흐뭇합니다.

  • @codestudio497
    @codestudio497 7 месяцев назад

    niiice , last time i use drag and drop i did like 100 line of code including styles and stuff

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

    How to disable those many popups in vscode?

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

    Thank you

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

    You deserve a million sub man.. really love your teaching style.

  • @MrSantirangel
    @MrSantirangel 7 месяцев назад +3

    Hey Ed, do you see updating the fullstack course for Next.js 14?

  • @daveydex
    @daveydex 7 месяцев назад

    Happy Birthday to you Ed.....

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

    WHAT THEME YOU USE ON VSCODE ?

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

    Nice. I 'd love it

  • @mantas9827
    @mantas9827 7 месяцев назад

    would have loved to see the code and play around with it (the add image dashboard)

  • @rog0079
    @rog0079 7 месяцев назад

    Happy birthday! be the same! hope everything goes great at your end! & lastly keep uploading these amazing videos!

  • @crosswalker45
    @crosswalker45 7 месяцев назад +1

    What a coincidence.. Today I was assigned similar task,, and you uploaded this video.

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

    what the name this theme from your vscode?
    i love it.

  • @ivan.jeremic
    @ivan.jeremic 7 месяцев назад

    Does it work for grids too?

  • @enogratechnologies1896
    @enogratechnologies1896 7 месяцев назад

    Happy birthday Ed.

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

    Is there any way to use this with shadcn datatable? I'm having trouble sending and using the set function in a child component.

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

    I wish we had an equivalent for VUE ecosystem

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

    What extesion do you use in vs code per autocomplete and autoimport? 🙏

  • @Raghunadh9
    @Raghunadh9 7 месяцев назад

    Happy Birthday Man... and also, Happy 1 million subscribers in advance ...

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

    Thank you so much Ed! This was very very helpful.

  • @K조셉
    @K조셉 7 месяцев назад

    Happy birthday brother

  • @denizorsel1029
    @denizorsel1029 7 месяцев назад

    That is amazing. Thank you very much and happy birthday!

  • @wanwan-swagg
    @wanwan-swagg 4 месяца назад

    Happy belated birthday!! I really appreciate this video!

  • @teeldinho471
    @teeldinho471 7 месяцев назад

    What theme and font?

  • @MarcosLima-cs9cd
    @MarcosLima-cs9cd 7 месяцев назад

    hey happy birthday!! you are awesome

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

    I wish this library was fragmented as it's too big (has a lot of animation capabilities) to include just for reorder. Not great when performance is key.

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

      My bad , I just read through the documentation , they have a section dedicated to explain bundle size

  • @guy1061
    @guy1061 7 месяцев назад

    Happy birthday Champ 🎉

  • @sankasanjeeva1182
    @sankasanjeeva1182 7 месяцев назад

    Happy birthday to my gorgeous teacher on the internet.

  • @blanxer
    @blanxer 7 месяцев назад

    happy birthday man, you are an inspiration, keep doing the good work 😊

  • @naylord5
    @naylord5 7 месяцев назад +1

    My man! You miss the NSFW tag here because this DnD is too sexy.
    Happy Birthday mate! Hope you're having a great time 🔥🎂

  • @gustavomartins3498
    @gustavomartins3498 7 месяцев назад

    Super fun and informative video. Happy birthday

  • @mauricio1179
    @mauricio1179 7 месяцев назад

    Looks nice, buuuuuuut.... How is it for performance, updating the database for long Arrays.? I'm no expert, it's just a question.

  • @saadirfan2358
    @saadirfan2358 7 месяцев назад

    Happy Birthday Ed ....
    Hope u had a great one.

  • @LLCrypto
    @LLCrypto 7 месяцев назад

    Always love your content!!!
    Do you have a React course?

  • @stephanechaffre7451
    @stephanechaffre7451 7 месяцев назад

    Happy birthday !!!

  • @U-installet
    @U-installet 7 месяцев назад

    Happy birthday 🎉. Nice from framer motion

  • @ukaszzbrozek6470
    @ukaszzbrozek6470 7 месяцев назад

    Framer motion is gold.

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

    In my case framer-motion + useFieldArray + Two inputs and with like 5 elements is fine, but when I have 20 elements to drag, then it starts lagging so bad it is unbearable. Everything is re-rendered and I don''t know how to optimize it.... I was using dnd-kit and there wasn't problem with it at all

  • @sardorkh3016
    @sardorkh3016 7 месяцев назад

    Happy birthday my bro wish u all the best do more courses 🎉😁

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

    possible in multidirectional

  • @윤성조-l9d
    @윤성조-l9d 5 месяцев назад

    Happy Birthday~!🎂

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

    I’m still in the shot 😂😂😂

  • @georgemamy6283
    @georgemamy6283 7 месяцев назад

    Thanks a lot ! But I want to know if it will change the position of items in the database or the API data ?

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

      no for that you have to write down an API for that purpose, it will be achieved using priority approach, you will be setting the priority from high, medium and low, after every reorder (or however you want it to be) you will make a call to backend updating the priority and then you will be getting the list sorted by priority and updated at, it this way your list will be fetched back as the order you have saved

  • @juliannicholls
    @juliannicholls 7 месяцев назад

    Happy birthday. Mine's soon too.

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

    What extension you use for debug error interface?

  • @krayziekray9509
    @krayziekray9509 7 месяцев назад

    Hello Ed! What extension do you use for autocomplete in VScode?

  • @asmrjavascript_
    @asmrjavascript_ 7 месяцев назад

    Hey how to small your windows 11 taskbar ???

  • @PritamTirpude23
    @PritamTirpude23 7 месяцев назад

    Happy Birthday Edward 🎁🎉

  • @CoryTheSimmons
    @CoryTheSimmons 7 месяцев назад

    Is there something like this for Expo?

  • @yusufalaca-vl7hi
    @yusufalaca-vl7hi 6 месяцев назад

    Can you share the source code of the project?

  • @lianamikulin1281
    @lianamikulin1281 7 месяцев назад

    Happy belated birthday! 🎉

  • @tahedisoyad-x6x4
    @tahedisoyad-x6x4 7 месяцев назад

    Loved it!

  • @TheIpicon
    @TheIpicon 7 месяцев назад

    amazing video!

  • @SonAyoD
    @SonAyoD 7 месяцев назад

    does this work with expo

  • @ahmadpak
    @ahmadpak 7 месяцев назад

    Happy Birthday ❤

  • @codewithguillaume
    @codewithguillaume 7 месяцев назад

    Very nice ed :D

  • @ahmedsamir-m8s
    @ahmedsamir-m8s 7 месяцев назад

    how much kb will framer motion effect my pkg? as i might only use it for this re-order
    ?

  • @SahilPatil-y8h
    @SahilPatil-y8h Месяц назад

    bro theme name pls

  • @tejasjani2544
    @tejasjani2544 7 месяцев назад

    happy happy birthday man

  • @FirasMohamed96
    @FirasMohamed96 7 месяцев назад

    I love it thanks 😊

  • @michealmltefive5510
    @michealmltefive5510 7 месяцев назад

    Motion Nice )

  • @mallickpriyanshu
    @mallickpriyanshu 7 месяцев назад

    Happy Birthday ❤🎉

  • @simonhblanco
    @simonhblanco 7 месяцев назад

    Happy Birthday bro

  • @vickonsscope6477
    @vickonsscope6477 7 месяцев назад

    Happy birthday Silly😂

  • @anantgupta5806
    @anantgupta5806 7 месяцев назад

    Happy Birthday Bro🥳🎉

  • @sudoalex
    @sudoalex 7 месяцев назад

    Hi Ed! Happy birthday!

  • @shouvikxiaomi5400
    @shouvikxiaomi5400 7 месяцев назад

    Happy birthday 🎉🎉

  • @sourav010
    @sourav010 7 месяцев назад

    Happy birthday 🎉🎂, Yesterday was my birthday 🫣 1st March

  • @harishtanty5722
    @harishtanty5722 7 месяцев назад

    Wish you a very happy and fun birthday 🎂 🎉

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

    Thanksssss

  • @Ugojnr
    @Ugojnr 7 месяцев назад

    happy birthday

  • @FalconiZzare
    @FalconiZzare 7 месяцев назад

    Does it work foor Horizontal drag and drop?

    • @ivodelev9794
      @ivodelev9794 7 месяцев назад +1

      Yes, but not both at the same time.They have example of horizontal in the docs

  • @AhmadMaartmesrini
    @AhmadMaartmesrini 7 месяцев назад

    Happy birthday 🎉❤

  • @Zagoorland
    @Zagoorland 7 месяцев назад

    What vs code theme is this? Very nice :)

    • @developedbyed
      @developedbyed  7 месяцев назад +1

      Material theme palenight 😄

  • @shaileshkuswaha1126
    @shaileshkuswaha1126 7 месяцев назад

    Happy Birthday 🎉

  • @howto-eq8ce
    @howto-eq8ce 7 месяцев назад

    Hi dev how are you? 🎉

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

    if only there was a place where the code could have been available or something...

  • @mr.makaveli9864
    @mr.makaveli9864 7 месяцев назад

    You bro I like you, do more bro 🔥🔥

  • @mohaymenul-islam
    @mohaymenul-islam Месяц назад

    great

  • @jorgemosqueda9409
    @jorgemosqueda9409 7 месяцев назад

    HB 🥳🎉

  • @johnlayda3299
    @johnlayda3299 7 месяцев назад

    My birthday is March 1, 2005 and now you😮

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

    Cool