Whereas now these are just exports straight off of the extension at top level, we should probably expose them in the utility module or have another module for such stores.
Internally the cornerstone extension grabs these from the monorepo:
import { useToggleOneUpViewportGridStore } from '../../default/src/stores/useToggleOneUpViewportGridStore';
Which is fine internally, but annonying if you have an external extension that wants to write/read to this state.
Why should we prioritize this feature?
It feels like a regression from 3.8's StateSyncService
What feature or change would you like to see made?
With 3.9 we got rid of the state sync service and are instead using zustand stores.
From within any other extension, we could previously get these in a kind of "native" ohif manner by:
Whereas now these are just exports straight off of the extension at top level, we should probably expose them in the utility module or have another module for such stores.
Internally the cornerstone extension grabs these from the monorepo:
Which is fine internally, but annonying if you have an external extension that wants to write/read to this state.
Why should we prioritize this feature?
It feels like a regression from 3.8's StateSyncService