Update article.md

"roll our own" -> "roll your own"
"can see that's" - "can see that that's"
This commit is contained in:
Peter Roche 2020-02-12 01:04:14 -07:00 committed by GitHub
parent 42920c176f
commit 62c32d2351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -300,4 +300,4 @@ We can lay a lot on this foundation.
- We can use event delegation for `mousedown/up`. A large-area event handler that checks `event.target` can manage Drag'n'Drop for hundreds of elements.
- And so on.
There are frameworks that build architecture over it: `DragZone`, `Droppable`, `Draggable` and other classes. Most of them do the similar stuff to what's described above, so it should be easy to understand them now. Or roll our own, as you can see that's easy enough to do, sometimes easier than adapting a third-part solution.
There are frameworks that build architecture over it: `DragZone`, `Droppable`, `Draggable` and other classes. Most of them do the similar stuff to what's described above, so it should be easy to understand them now. Or roll your own, as you can see that that's easy enough to do, sometimes easier than adapting a third-part solution.