- We at Atlassian have recently released react-beautiful-dnd which makes drag and drop for lists on the web more beautiful, natural and accessible.PhysicalityThe core design idea of react-beautiful-dnd is physicality: we want users to feel like they are moving physical objects around.
- Itâs drag and drop mechanism is fairly standard and serves as a good reference point.Movementinstant movement isÂ standardWhen dragging items around, other items disappear and reappear as needed.
- At no point is an item instantly moved anywhereâââregardless of whether it is dragging or not.Knowing when toÂ moveIt is quite common for drag and drop interactions to be based on the position that user started the drag fromimpact based on selection pointIn this example the user is grabbing the top…
- Put another way: once the centre position of an item (A) goes over the edge of another item (B), B moves out of the way.AccessibleTraditionally drag and drop interactions have been exclusively a mouse or touch interaction.
- We add a tab-index to draggable items to ensure that even you are not wrapping something that is usually interactive (such as a div) then the user will still be able to access it with their keyboard to drag it.Not forÂ everyoneThere are a lot of libraries out there that allow…
We have recently released react-beautiful-dnd which makes drag and drop for lists on the web more beautiful, natural and accessible
Continue reading “Rethinking drag and drop – Alex Reardon – Medium”
- If every click or letter typed becomes a Redux action, then it can actually slow your app down.
- Using the right directory structure for your app makes imports easier to understand and modify later on.
- Choose the right directory structure for your app
- Redux is a technology that you can gradually phase into your React app.
- Once you get the hang of it, you can use Redux for new features you implement, as well as slowly optimizing your app to get the most out of Redux.
When I first arrived at Agolo a year ago, I was handed a codebase developed entirely in Meteor 1.0. Meteor then (and now) defaulted to…
Continue reading “Our Redux Migration (and 5 tips for adoption in a mature codebase)”
- We will ensure that you fully master Promises with a section on extra Promises that will provide further useful information and examples.
- Once you have familiarized yourself with Promises, we will review the many awesome ways of combining Promises, such as waiting for all tasks or grabbing the first task to complete.
- Throughout the course, you will apply every single feature you have discovered by creating meaningful widgets that utilize Promises, both in ES6 and in AngularJS.
- Starting from the basics of resolving and rejecting Promises, we will gradually move on to controlling flows by redirecting outcomes, making failures into successes, and vice versa, and modifying data to make it ready for display.
Read the full article, click here.