npm install
npm start
Demos will be live at http://localhost:8080
- clone react-spring and react-spring-examples under the same root folder
/root
/react-use-gesture
/react-use-gesture-examples
- yarn/npm install both
- cd react-use-gesture-examples
- edit index.js
import examples from './components/examples-tests'
//const DEBUG = false
const DEBUG = 'latestbug'
- go to /demos/tests/latestbug and set up a demo that reproduces the problem
- npm start, you can now make hot-reload edits in both repos (react-spring and react-spring-examples)
- you can test integrity by running all examples, edit index.js again:
import examples from './components/examples-hooks'
const DEBUG = false
//const DEBUG = 'latestbug'