Skip to content

pmndrs/react-spring-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2a5bf07 · Sep 20, 2019

History

40 Commits
Aug 6, 2019
Sep 20, 2019
Feb 11, 2019
Jun 4, 2019
Jul 23, 2019
Sep 18, 2019
Jun 6, 2019
Aug 6, 2019
Feb 11, 2019
Aug 6, 2019
Aug 6, 2019
Sep 20, 2019

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'