react application: state, self messages