Closed NarenderSiri closed 1 year ago
const log = (store) => { return store; };
createStore({ yourDetail: { tenantId: "" },
},{ middleWares: [ log ], } );
export const Getstatevalue = { // i want to export the state value from here out side the component }
const App=() => { //It is working here const { actions, state,getState } = useStateMachine({ updateName }); }
no supported at moment, we can consider that later on.
const log = (store) => { return store; };
createStore({ yourDetail: { tenantId: "" },
},{ middleWares: [ log ], } );
export const Getstatevalue = {
// i want to export the state value from here out side the component }
const App=() => { //It is working here const { actions, state,getState } = useStateMachine({ updateName }); }