Attempted import error: 'InstantSearch' is not exported from 'react-instantsearch'. code example
Example: Attempted import error: 'InstantSearch' is not exported from 'react-instantsearch'.
//you might be importing 'react-instantsearch' rather than 'react-instantsearch-dom'
//change your import to 'react-instantsearch-dom' like mentioned below
import { InstantSearch } from 'react-instantsearch-dom'