instantsearch.js widget using React
This repository holds a custom widget for instantsearch.js. It's using React.
Read more on how to create widgets in the instantsearch.js documentation.
We also have a more complex example using React: instantsearch-googlemaps.
Table of Contents
Read the code.
To run the example you can:
- clone this repository
- run
npm run dev
in the cloned repository - open http://localhost:3000
npm run dev
npm test
We provide everything for this boilerplate for you to publish it on both npm and jsDelivr.
If you want to do the same with your widget, create a new jsDelivr project. Then use the npm run release
task from this project.
Example:
SEMVER_TOKEN=minor npm run release
instantsearch-googlemaps is an example project that is deployed and usable on both npm and jsDelivr.