Skip to content
Joseph Guillaume edited this page Jun 3, 2024 · 1 revision

Web components may use different rendering mechanisms that may need to be interoperable.

Example strategies:

  • If a web component uses a triple store as a central state, it may subscribe to changes, which then trigger a defender, e.g. with rdflib.js, listening for added or new triples using a particular subject
  • If state is instead passed from parent to child through properties or attributes of components, web components might use a virtual dom to control rerender
Clone this wiki locally