Documentation Index
Fetch the complete documentation index at: https://algolia.com/llms.txt
Use this file to discover all available pages before exploring further.
This widget is and is subject to change in minor versions.
Signature
Import
JavaScript
About this widget
Use the<Feeds> component to display multiple independent result sets from a multifeed composition.
For each feed in the composition, the widget provides an IndexContext scoped to that feed and calls renderFeed to render its content.
Requires a composition-based InstantSearch instance (the compositionID option must be set on <InstantSearch>).
Examples
JavaScript
Props
A function that renders the content for each feed.
Called once for each feed in the composition response.
It receives:
feedID. The unique identifier of the feed, as defined in the composition configuration.
IndexContext scoped to this feed, so any InstantSearch widgets you render here automatically use the correct feed’s results.JavaScript
Whether each feed runs an isolated search with its own search parameters. Currently only
false is supported, meaning all feeds share the same global search state. The prop is required to make the choice explicit; future releases may add support for true.JavaScript
A function to transform, reorder, or filter the feed IDs before rendering. Receives the array of feed IDs from the composition response and must return an array of feed IDs (strings).
JavaScript