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 ❤️
‼‼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.
If Reorder.Item components are within a scrollable container, that container needs a layoutScroll prop so Framer Motion can correctly measure its scroll offset.
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!
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.
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.
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
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
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 ❤️
Happy Birthday Ed! ❤
Thank you!
This course will be on TH-cam?
Happy birthday 🎁🎂
Happy Birthday Ed!
‼‼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.
Man u just saved my butt, thx!
Well, I tried using react dnd and it just keeps throwing overload errors and this worked just fine.
Thanks. Will try to use dnd-kit only then
If Reorder.Item components are within a scrollable container, that container needs a layoutScroll prop so Framer Motion can correctly measure its scroll offset.
Magic is a scary word when it comes to development.
Exactly
Happy Birthday Funny Prog.😀
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.
What's that wallpaper?
please mention the libraries used in the video title or at least the description.
WHAT THEME YOU USE ON VSCODE ?
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!
How to disable those many popups in vscode?
possible in multidirectional
Can u make a full course about framer motion plz?
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
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...
Is there any way to use this with shadcn datatable? I'm having trouble sending and using the set function in a child component.
Hi .The project you showed in this demo. Is it available as a course to buy?
What extesion do you use in vs code per autocomplete and autoimport? 🙏
what the name this theme from your vscode?
i love it.
Happy Birthday~!🎂
Amazing!!, do you know if it also work for reorder items from a grid container?
Dude, absolutely love your energy. You have a face of a man that actually loves his job 💙 inspiring...
Can you share the source code of the project?
Hey Ed, do you see updating the fullstack course for Next.js 14?
You deserve a million sub man.. really love your teaching style.
프로그램을 하면서 즐거워하시는 모습이 흐뭇합니다.
Happy birthday. Mine's soon too.
would have loved to see the code and play around with it (the add image dashboard)
Can you share your VS Code settings and themes? They look really cool!
What extension you use for debug error interface?
Hey any own web page builder video available without any page builder use like dont use grapes js etc.?
Does it work for grids too?
I wish we had an equivalent for VUE ecosystem
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.
My bad , I just read through the documentation , they have a section dedicated to explain bundle size
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.
Happy birthday Champ 🎉
Happy birthday brother
Happy bday! Enjoy ur trip!
Happy belated birthday!! I really appreciate this video!
I’m still in the shot 😂😂😂
Happy birthday !!!
Thank you so much Ed! This was very very helpful.
Happy belated birthday! 🎉
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
Where i can see the source code
Wow, Great Content, thanks for sharing it...
What theme and font?
Happy Birthday Man... and also, Happy 1 million subscribers in advance ...
does this work with expo
Very nice ed :D
Thanks a lot ! But I want to know if it will change the position of items in the database or the API data ?
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
Is there something like this for Expo?
Happy Birthday ❤
Thank you
Hey how to small your windows 11 taskbar ???
Happy birthday bro 🎉 , can u make a video about your vscode setup including extensions
Hello Ed! What extension do you use for autocomplete in VScode?
niiice , last time i use drag and drop i did like 100 line of code including styles and stuff
You’re the channel I’ve been looking for! 🎉 Happy birthday
how much kb will framer motion effect my pkg? as i might only use it for this re-order
?
Looks nice, buuuuuuut.... How is it for performance, updating the database for long Arrays.? I'm no expert, it's just a question.
bro theme name pls
What a coincidence.. Today I was assigned similar task,, and you uploaded this video.
Happy Birthday ❤🎉
That is amazing. Thank you very much and happy birthday!
Always love your content!!!
Do you have a React course?
Nice. I 'd love it
Does it work foor Horizontal drag and drop?
Yes, but not both at the same time.They have example of horizontal in the docs
Happy Birthday Ed ....
Hope u had a great one.
hey happy birthday!! you are awesome
happy birthday man, you are an inspiration, keep doing the good work 😊
Super fun and informative video. Happy birthday
Happy Birthday to you Ed.....
Motion Nice )
amazing video!
Framer motion is gold.
Happy birthday to my gorgeous teacher on the internet.
Hi Ed! Happy birthday!
Happy birthday 🎉. Nice from framer motion
Happy Birthday Edward 🎁🎉
Happy birthday Ed.
Happy Birthday Bro🥳🎉
Happy Birthday bro
happy happy birthday man
Hi dev how are you? 🎉
happy birthday
Happy birthday! be the same! hope everything goes great at your end! & lastly keep uploading these amazing videos!
What vs code theme is this? Very nice :)
Material theme palenight 😄
Happy birthday my bro wish u all the best do more courses 🎉😁
My man! You miss the NSFW tag here because this DnD is too sexy.
Happy Birthday mate! Hope you're having a great time 🔥🎂
Thanksssss
Happy birthday Silly😂
Wish you a very happy and fun birthday 🎂 🎉
Happy Birthday 🎉
I love it thanks 😊
Loved it!
HB 🥳🎉
Happy birthday 🎉❤
Happy birthday🎉
Happy birthday 🎉🎂, Yesterday was my birthday 🫣 1st March
if only there was a place where the code could have been available or something...