Skip to content

pmndrs/react-spring-examples

Repository files navigation

Installation

npm install
npm start

Demos will be live at http://localhost:8080

Contributors

  1. clone react-spring and react-spring-examples under the same root folder
/root
  /react-use-gesture
  /react-use-gesture-examples
  1. yarn/npm install both
  2. cd react-use-gesture-examples
  3. edit index.js
import examples from './components/examples-tests'

//const DEBUG = false
const DEBUG = 'latestbug'
  1. go to /demos/tests/latestbug and set up a demo that reproduces the problem
  2. npm start, you can now make hot-reload edits in both repos (react-spring and react-spring-examples)
  3. you can test integrity by running all examples, edit index.js again:
import examples from './components/examples-hooks'

const DEBUG = false
//const DEBUG = 'latestbug'