-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Probably use rdflib. Here's the recommendation from a Gitter chat on this topic:
For global (app wide) data we already have a store, the rdflib store. For local (component) data use state or context.
You could put the rdflib store in a context, and then retrieve it in hooks further down in the component tree to query specific data for that component
Create the rdflib store on top level, e.g. next to the root react render, the pass the store to a context provider
You can also use reacts useReducer in certain places where you want the redux action/reducer style instead of plain data read/write
Metadata
Metadata
Assignees
Labels
No labels