Closed sarahdayan closed 2 months ago
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 0c58a46c49b72c8c42ab68f3bfe748e86cbbf818:
Sandbox | Source |
---|---|
react-instantsearch-app | Configuration |
example-react-instantsearch-default-theme | Configuration |
example-react-instantsearch-next-app-dir-example | Configuration |
example-vue-instantsearch-default-theme | Configuration |
This introduces the
relatedProducts
widget and tests it in the widget common test suite.This PR changes a few things in how we pass templates to the UI component:
The
<RelatedProducts>
UI component now defines all default templates. This lets us define them once for all flavors instead of passing them manually and risking output drifts.InstantSearch.js doesn't pass default templates in
relatedProducts
since they're defined in the UI component.All
relatedProducts
templates are passed asFragment
s so we can avoid redefining components in the widget.https://algolia.atlassian.net/browse/FX-2814
https://algolia.atlassian.net/browse/FX-2815