Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 738 Bytes

DEVELOPMENT.md

File metadata and controls

20 lines (17 loc) · 738 Bytes

Development Process

  1. Run yarn to install all necessary dependencies.
  2. Make your changes.
  3. Run the following things in this project directory to create a package link:
yarn build && yarn link
  1. To test your changes locally, you can use project in example folder or create a new one via create-react-app.
  2. Go to example folder and run yarn to install all necessary dependencies.
  3. Link this package in other project directory:
yarn link react-easy-infinite-scroll-hook
  1. Now you have a linked changes and ready to test it.
  2. Run yarn start to test your changes.

Troubleshooting

If you have problems with a linked package, try running yarn unlink and repeat the steps from step 3.