Wishlist container
This container manages and displays the list of products on a user’s wishlist.
A container’s behavior is controlled by configuration options like moveProdToCart, getProductData, and refineProduct, and routing via routeEmptyWishlistCTA, routeProdDetailPage, and routeToWishlist.

Wishlist container
Configurations
Section titled “Configurations”The Wishlist container provides the following configuration options:
Example
Section titled “Example”The following example demonstrates how to render the Wishlist container:
provider.render(Wishlist, { moveProdToCart: cartApi.addProductsToCart, routeProdDetailPage: (product) => rootLink(`/products/${product.urlKey}/${product.sku}`), getProductData: pdpApi.getProductData, getRefinedProduct: pdpApi.getRefinedProduct, });To render an additional wishlist (for example, a “Save for Later” list) beside the active one, pass wishlistId and a matching scope:
provider.render(Wishlist, { wishlistId: myListId, scope: 'my-list', moveProdToCart: cartApi.addProductsToCart, routeProdDetailPage: (product) => rootLink(`/products/${product.urlKey}/${product.sku}`), getProductData: pdpApi.getProductData, getRefinedProduct: pdpApi.getRefinedProduct, })(document.getElementById('my-list'));See Render an additional wishlist for the complete walkthrough.