1. Invoke component interop
2. Add **data-from-query** and related attributes to any element, you're done
Or a triple **pattern** — with no endpoint it reads the SHARED store, live
This illustrates Data-from-query in a ul element. On a text element (an h1, span, etc.) it sets the element's text to the result. If you use it in a custom element, you can retrieve the data as a JSON object. See the Using data-from-query in a custom element.
Data-from-query has many other options (live shared-store triple patterns, stored queries, replaceable parameter queries, and more) see the Sol-Component sol-query documents.