react use dispatch without object code example Example: redux dispatch no connect store.dispatch({type:"UPDATE_VARIABLE", payload:variable.value})