more React idomatic