In this video we will go over how to make api calls in React. We will go over two different ways to do this, using Axios and using Fetch. As an example, we will use JSONPlaceholder to simulate an api request and show how to make a get and a post request.
Starting Code:
[ Ссылка ]
Ending Code:
[ Ссылка ]
Axios Documentation:
[ Ссылка ]
Fetch Documentation:
[ Ссылка ]
JSONPlaceholder:
[ Ссылка ]
Free Structured Courses on Legionscript.com:
[ Ссылка ]
Ещё видео!