Skip to content

thanhnamit/instantsearch.js

 
 

Repository files navigation

React InstantSearch logo

Looking for instantsearch.js instead? Go to the develop branch.

InstantSearch

This is the main README of the InstantSearch project.

Currently we support React and plain JavaScript (or Vanilla) via:

This current branch (v2) holds the code for React InstantSearch, see project status for more information on project structure.

Development

We use the documentation website as the main way to develop React InstantSearch.

yarn boot
yarn start

Go to http://localhost:3000.

Test

We have unit tests for all packages/:

yarn test # one shot run, also lint and tries to build the documentation
yarn dev # unit tests watch mode, no lint

Lint

yarn lint # only changed files in dev, all files in CI
yarn lint:fix

Release

npm run release

This cannot yet be moved to yarn release so please use npm run release.

Update docs

yarn docs:deploy-production

Deploy a preview of docs

yarn docs:deploy-preview

This uses netlify.

Upgrade deps

yarn upgrade-deps

See next release changelog

yarn changelog

Project status

InstantSearch.js was our first instant-search related project. We still support the current version (v1.x.x) of it. And you can still count on contributors to fix bugs.

In a near future this current repository will hold any instant-search related project:

  • InstantSearch Core
  • InstantSearch.js v2 (based on React InstantSearch)
  • InstantSearch Vue
  • InstantSearch Angular

While we are in transition mode, the v2 branch is the main development branch for any of the upcoming projects.

The develop branch will soon be renamed v1 and v2 will be the new develop as soon as we have instantsearch.js v2.

About

⚡ Lightning-fast search for your apps, by Algolia

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 55.8%
  • CSS 29.0%
  • HTML 12.7%
  • Shell 1.0%
  • Objective-C 0.9%
  • Python 0.3%
  • Java 0.3%