-
The import { myMiddleware } from './myMiddleware';
function MyMiddleware() {
const { use } = useInstantSearch();
useEffect(() => {
return use(myMiddleware);
}, [use]);
return null;
}
Docs for |
Beta Was this translation helpful? Give feedback.
Answered by
Haroenv
Aug 17, 2023
Replies: 1 comment
-
Thanks, we must have missed this in the migration. Making a PR to replace it now |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Haroenv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, we must have missed this in the migration. Making a PR to replace it now