Hacker News new | ask | show | jobs
by gayprogrammer 1956 days ago
Was this written recently?

Exclusive use of jQuery, not using browser drag and drop (manually edits element position), using JS to animate and fade/transition instead of CSS, etc.

Is localStorage the only modern/HTML5 concept being used?

6 comments

It was written when I needed a kanban board done to my specs in a minimum amount of time using whatever things I was most comfortable with.
> Exclusive use of jQuery, not using browser drag and drop (manually edits element position), using JS to animate and fade/transition instead of CSS, etc.

What's wrong with any of these?

I get that you may not personally want to work on a project like this, but as a tool you either use or don't, what does it matter whether localStorage is the only "modern" concept being used?

Not saying this to be polemic, I would genuinely like to know why as programmers we're always so critical of each others' tools.

As opposed to what? It's supposed to be a single page so why is jQuery a bad option? Only issue to point out maybe about composability, but Can any of the modern frameworks produce a single page solution?
Vue definetly could, I have a single page music/note sequencer done in it that is maybe a bit more complicated than this so yes (I really should find the time to make it public and maybe showHN, made a parse backend to it but had to leave it mid due to real-life commitments).
After trying to use HTML5 drag once, I would say never again. Unless I needed to accept files from a local file system or something. The HTML5 drag API is significantly worse than using mouse move events and absolute positioning in my experience.
What is browser drag grop?
i assume https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_a...

i just learned of it from this comment. cool!

Drag and drop is not supported by all browsers so You can not use it in real world
I think for a personal project that you use for your own ends, you can use whatever you like:)

But in general, I agree!