DocumentListView to render a set of documents from a CMS
Tech @ Vyuh Tech @ Vyuh
144 subscribers
5 views
0

 Published On Oct 3, 2024

Using the DocumentListView, you can easily control which documents to pick and render on your Apps. The configuration on the CMS allows you to specify:
- a query-configuration that controls what documents are selected
- a list-item-configuration to control how a document item should be rendered
- a layout that helps in rendering the container that holds all the items

Together you have complete control to load and render documents directly from a CMS like Sanity. This simplifies many scenarios and takes away the grunt-work of rendering documents from a CMS.

show more

Share/Embed