RUVIDEO
Поделитесь видео 🙏

How to get data from API? ? [Ep-17] | React tutorial 2023 #reactjs #reactjstutorial

If you want to make API calls from your Reactjs application then you can use fetch() or Axios to do so as a beginner. ?

There is another package - React Query that you can use, but we will cover that in the next video. ?

In this video, I will use the fetch() call to hit a 3rd party API to get the data from the API and display it on our UI. We will also use a button to hit the API again and again and refresh the data displayed on the UI.

FREE APIs List: https://apipheny.io/free-api/

I will then use Axios to do the same.

As part of the UI, I have also used setTimeout() function in this video to delay the loading of some parts of the data. ?

Key Moments:
0:00-1:04 - Introduction
1:04-2:21 - What we will do?
2:22-5:28 - Using fetch for API calls
5:29-7:55 - Update UI with API data
7:56-9:51 - Using useEffect for making fetch call
9:52-11:08 - Using button click to fetch data
11:09-16:09 - Using setTimeout to delay UI element rendering
16:10-19:31 - Using Axis for API calls
19:32 - End Note

Complete Playlist: https://www.youtube.com/playlist?list=PLLGlmW7jT-nROpfmMFDj7ccjCujXOLIey

Github Repo with code: https://github.com/thisisabhishek/hello-reactjs

I hope you enjoy this video and learn something new.

If you do not know JavaScript, then you must learn JavaScript before starting ReactJS, and I have an amazing FREE course for JavaScript to help you learn JS - https://www.studytonight.com/code/js-course/

Follow me on Instagram:
Studytonight with Abhishek - https://instagram.com/study.tonight/
Abhitonight (Hindi Reels) - https://www.instagram.com/abhitonight/
LinkedIn: https://www.linkedin.com/in/ahlawatabhishek/

Keywords:
learn reactjs
reactjs tutorial
reactjs complete tutorial
reactjs tutorial 2023
reactjs complete tutorial 2023
reactjs beginner tutorial
react tutorial beginner
react tutorial 2023
learn react 2023
reactjs for web development
reactjs jobs
reactjs career
react JSX
reactsjs jsx tutorial
add style to jsx
style attribute with jsx
how to use style in jsx element
CSS as module in reactjs
forms in reactjs
get data from API

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «How to get data from API? ? [Ep-17] | React tutorial 2023 #reactjs #reactjstutorial», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.