[x] We need to figure out the developer experience. In order for this to work in code sandbox, the examples/ folder needs to be self-contained with it's own package.json. As such, we need to import react-swipeable from npm instead of just importing from src/. Thus, in order to develop on the examples, a developer needs to either yarn link the package or change the import manually. However, we then get extra copies of react errors. We should sort this out before merging.
TODO before merge
examples/
folder needs to be self-contained with it's ownpackage.json
. As such, we need to importreact-swipeable
from npm instead of just importing fromsrc/
. Thus, in order to develop on the examples, a developer needs to eitheryarn link
the package or change the import manually. However, we then get extra copies of react errors. We should sort this out before merging.