algolia-search▌
davila7/claude-code-templates · updated Apr 8, 2026
Modern React InstantSearch setup using hooks for type-ahead search.
Algolia Search Integration
Patterns
React InstantSearch with Hooks
Modern React InstantSearch setup using hooks for type-ahead search.
Uses react-instantsearch-hooks-web package with algoliasearch client. Widgets are components that can be customized with classnames.
Key hooks:
- useSearchBox: Search input handling
- useHits: Access search results
- useRefinementList: Facet filtering
- usePagination: Result pagination
- useInstantSearch: Full state access
Next.js Server-Side Rendering
SSR integration for Next.js with react-instantsearch-nextjs package.
Use instead of for SSR. Supports both Pages Router and App Router (experimental).
Key considerations:
- Set dynamic = 'force-dynamic' for fresh results
- Handle URL synchronization with routing prop
- Use getServerState for initial state
Data Synchronization and Indexing
Indexing strategies for keeping Algolia in sync with your data.
Three main approaches:
- Full Reindexing - Replace entire index (expensive)
- Full Record Updates - Replace individual records
- Partial Updates - Update specific attributes only
Best practices:
- Batch records (ideal: 10MB, 1K-10K records per batch)
- Use incremental updates when possible
- partialUpdateObjects for attribute-only changes
- Avoid deleteBy (computationally expensive)
⚠️ Sharp Edges
| Issue | Severity | Solution |
|---|---|---|
| Issue | critical | See docs |
| Issue | high | See docs |
| Issue | medium | See docs |
| Issue | medium | See docs |
| Issue | medium | See docs |
| Issue | medium | See docs |
| Issue | medium | See docs |
| Issue | medium | See docs |
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★51 reviews- ★★★★★Ganesh Mohane· Dec 28, 2024
algolia-search is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Hana Taylor· Dec 28, 2024
Registry listing for algolia-search matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Anika Robinson· Dec 24, 2024
Keeps context tight: algolia-search is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Shikha Mishra· Dec 4, 2024
algolia-search has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Anika Li· Nov 27, 2024
algolia-search fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Yash Thakker· Nov 23, 2024
Solid pick for teams standardizing on skills: algolia-search is focused, and the summary matches what you get after install.
- ★★★★★Henry Ndlovu· Nov 23, 2024
algolia-search is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Anika Wang· Nov 19, 2024
algolia-search reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Henry Taylor· Nov 15, 2024
I recommend algolia-search for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Sophia Zhang· Oct 18, 2024
algolia-search is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 51