Skip to content

Reactivity to state changes #37

@josephguillaume

Description

@josephguillaume

Opening this issue to document opportunities for components to react to state changes, building on the rxjs decision:

- RxJS might come in handy in other places where applications need to react to state changes, like when new data for a resource gets fetched

By state changes, I firstly have in mind cases where the triples affecting a subject or object change, either because of another component on the same page or due to data changes.
The primary use case is to perform reactive rendering.
It will likely be desirable to standardise how this is dealt with across solid web components. See https://github.com/solid-contrib/web-components/wiki/Rendering

e.g.
pos-label is displaying data from the triple

:subject rdfs:label "subject label".

This triple is then replaced in the store by

:subject rdfs:label "new subject label".

pos-label needs to rerender with the new value

Metadata

Metadata

Assignees

No one assigned

    Labels

    elaborationAn issue that elaborates and collects ideas on a topic

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions