Reactjs устанавливает состояние из json
#reactjs #json #react-hooks Вопрос: const [items, setItems] = useState([]) const getItems= () => { fetch(`${process.env.REACT_APP_API_URL}/invoice/Draft/1`, { method: 'GET', headers: { 'Content-Type': 'application/json', 'x-business-name' : 'billings', "Accept":"application/json" }, }) .then(response =>…