r/reactjs • • Apr 18 '21

Show /r/reactjs I made an open source bare-bones app to demonstrate React-DnD

581 Upvotes

28 comments sorted by

23

u/Guy676767 Apr 18 '21 edited Apr 19 '21

I was interested to try out React-DnD, so I built this bare-bones minimal interface to move around tasks throughout the week days. It was such a breeze to use and implement, that I wanted to share it. I hope it can be helpful to someone.

Github link: https://github.com/guyariely/scalendar

Demo link: https://scalendar.netlify.app/

4

u/pedropss Apr 18 '21

Give it a try to dnd-kit, it’s still in beta but I find it awesome!

3

u/IamNotMike25 Apr 18 '21

Wow this one is beautiful with great documentation.

I hope I'll be able to make it work on NextJS.

63

u/jeffhowcodes Apr 18 '21

Aw man. Was hoping React-DnD was something else.

8

u/Guy676767 Apr 18 '21

lmao 😂

11

u/robby_w_g Apr 18 '21 edited Feb 15 '26

Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis. Tempus leo eu aenean sed diam urna tempor. Pulvinar vivamus fringilla lacus nec metus bibendum egestas. Iaculis massa nisl malesuada lacinia integer nunc posuere. Ut hendrerit semper vel class aptent taciti sociosqu. Ad litora torquent per conubia nostra inceptos himenaeos.

4

u/jrocAD Apr 19 '21

Ikr, how is there not react DnD already. I think someone needs to get on that. Not me, but, someone...

3

u/Crafty-Survey-5895 Apr 18 '21

Literally same ahaha

12

u/berserkForYou Apr 18 '21

That’s a beautiful UI, brings a tear to my eye

2

u/Guy676767 Apr 18 '21

Wow 😅 thanks!

4

u/berserkForYou Apr 18 '21

I might just fork your repo ;)

3

u/Guy676767 Apr 18 '21

You’re more than welcome, if you have any suggestions / feedback I would also appreciate that ✌🏻

3

u/amrosi Apr 18 '21

Nice! Definitely will try out

2

u/Guy676767 Apr 18 '21

Thank you!

19

u/Slow-Lynx-1342 Apr 18 '21

I'VE IGNORED THIS FRAMEWORK BECAUSE I THOUGHT IT STOOD FOR DUNGEONS AND DRAGONS. I'VE BEEN HEARING ABOUT FOR OVER A MONTH AND IM ACTUALLY JUST FINDING OUT DnD STANDS FOR DRAG AND DROP 😳.

Like why I thought there was a library for dungeons and dragons is beyond me.

7

u/imAmarok Apr 18 '21

👏Very cool.

You can implement something like Jira or Trello. Not exact clones, but steal best ideas from such apps.

I did something similar a couple of weeks ago. It's with React beautiful dnd though. Check it out if you want

1

u/life_never_stops_97 Apr 18 '21

Wow awesome stuff. It works wonderfully well on my mobile and the ui looks just amazing. Did you code the css all by yourself? How much time it took you to code it out? I'm also learning react and web dev but I'm a beginner rn.

3

u/imAmarok Apr 18 '21

Wow awesome stuff.

Thank You!

Did you code the css all by yourself?

Yes. I used TailwindCSS. No UI library like Chakra, MUI...

How much time it took you to code it out

15-20 days. Most of the time went in decision making.

I'm also learning react and web dev but I'm a beginner rn.

Great. I hope you make cool stuff and share with this community.

3

u/Dan6erbond Apr 18 '21

You did this with React-DnD? That is AMAZING! I have been trying to get smooth movements like that to work but my interfaces with it (a kanban) just feel really clumsy and snappy.

3

u/syrimande Apr 18 '21

this is amazing! I've been designing my own task management tool but haven't developed it yet, this is great inspiration!! thank you for sharing

3

u/daryllman Apr 18 '21

Thats pretty sick!

3

u/colorpulse6 Apr 18 '21

Thank god, took me like a week to implement it myself

1

u/chidihn Apr 24 '21

I think you should add scroll vertical when content is so long

1

u/frog-legg Apr 18 '21

I’ve had great experiences with React-beautiful-DND, which is a popular interface / superclass on ReactDnD.

However, we recently migrated over to redux and it wreaks havoc on redux devtools autoselector...

1

u/straightouttaireland Apr 18 '21

Not great on mobile I'm afraid