Implementing a Search Box and Results Component
Discover what you can do with the SearchBox and Hits components and try them yourself in this lesson.
We'll cover the following...
Overview
In the previous lesson, we talked about the root component of our search functionality and the composition of the search feature.
In this lesson, we will start implementing the building blocks of the search functionality by starting to import the SearchBox
and the Hits
component.
SearchBox
The SearchBox
component is used to perform a text-based search query on Algolia by the user, which is the main entry point of any search functionality.
import React from 'react';
import {
InstantSearch,
SearchBox,
} from
...