Components
To make integration easy for developers, Sitecore Discover includes ready-to-use components in the JS SDK for React. These components are built to request and receive data when required.
Here's a list of components from the JS SDK you can use in your application.
- WidgetsProvider
- WidgetsContainer (deprecated)
- PageWidgetsProvider
- PageWidgets
Note
WidgetsContaineris deprecated. Use PageWidgets instead.
The following is an alternate procedure to render based on page URL:
If you have suggestions for improving this article, let us know!