Skip to content
Joseph Guillaume edited this page Nov 22, 2024 · 2 revisions

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 rerender, 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

In other component systems:

Clone this wiki locally