how to set data received on the component page to the framework7 store. data received in actions is displayed correctly, but the data received on the page is not displayed.
Example:
Works amazing
const some = store.useState(‘some’)
onMounted(()=>{ store.dispatch(‘getSome’)}),
But on page
const some = useState(‘some’)
onMounted(()=>{
getSome();
}),
const getSome = (some)=> {
// some fetch
// then some data
some = res.data
@nolimits4web how it’s works ?
Can you post more complete example? I can’t understand your code example