component / swipe

Swipe component with touch support (for image carousels, dynamic content etc)
http://component.github.com/swipe
61 stars 14 forks source link

swipe should defer feature detection using has-translate3d until 1st usage #32

Open frko opened 7 years ago

frko commented 7 years ago

Due to the immediate feature detection we are unable to load swipe in a webpack vendor chunk async in the head, this might be remedied by postponing feature detection until 1st usage.

This would be a more frequent usecase when http2 push supports get broader as we are able to serve assets already before content.

chemzqm commented 7 years ago

Hm, it's not designed for that use case, you can create your own swipe component for your requirement.