-
Notifications
You must be signed in to change notification settings - Fork 44
Suggestions for lower end mobile devices. ? #8
Comments
A big performance issue I see is that it triggers a full React diff and render cycle each frame while dragging, which is heavy for that kind of animation. I think it should probably only do full diffing for big state changes, and drag events should be handled at the DOM level outside of React. I'd be happy to submit a patch if you like. |
Hi @CaptainN and thanks for weighing in. |
Sounds good. I have a few other ideas, such as correct throw physics for drag/drop paging. I'm actively using this for a project, so I'll probably do a few other mods (including the React.Children PR I just submitted). |
Nice! I just added you as a collaborator. As you'll see, the build process and examples are quite cumbersome to maintain. |
@CaptainN you should check out swiper.js it performs really well on lower end mobile devices (Tested on Lumia 520). I use it here https://github.com/darkyen/react-ui-components/blob/master/src/UITabsView.js along with more high performance react components. |
for instance :http://dev.w3.org/csswg/css-snappoints/ Allows snapping of points natively in the scrollview, and saves performance on extremely low powered devices. *(Currently only supported by Microsoft devices)
The text was updated successfully, but these errors were encountered: