Use the store in a useEffect hook to retrieve the data you need and save it
to a local state (if required)
Example
useEffect(() => { if (store) { store.get<WellboreHeader>('wellbore-headers', id).then(response=> { ... // do something with the data }) } }, [store, id])
Access the store from the
DataProviderwithin a component to retrieve data.