React Axios | Tutorial for Axios with ReactJS for a REST API

React Axios | Tutorial for Axios with ReactJS for a REST API

Adrian Twarog

4 года назад

288,299 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Shaun Pant
Shaun Pant - 14.08.2023 17:40

What is the difference between constructor(){super()api.get()} and componentDitMount(){api.get()}?You say the constructor runs every time the component mounts, isn't componentDidMount() the same? Please help

Ответить
Jack Epner
Jack Epner - 27.07.2023 17:50

It's like you're jumping in mid-project without explaining where you're at. Where are you getting that json data from on your localhost?? And why wouldn't you create a backend for an API request when you typically have a key you need to hide?

Ответить
Damian
Damian - 23.05.2023 07:12

Great! Quick nad precise! 🎉

Ответить
Ahmed Bousaleh
Ahmed Bousaleh - 17.01.2023 15:29

you made it very simple but you ruined it as well

Ответить
swojchwat
swojchwat - 13.12.2022 11:52

Brief and easy to follow. Thanks. BTW you have very nice poilsh surname ;)

Ответить
Lowland Joe
Lowland Joe - 29.10.2022 16:19

The move from components to functions has genuinely rendered 99% of these tutorials absolutely obsolete

Ответить
John Boyle
John Boyle - 26.10.2022 18:44

man you make it look so easy

Ответить
Alexios
Alexios - 29.07.2022 19:30

good video, but class components sucks LOL

Ответить
Adrian Chojnacki
Adrian Chojnacki - 29.07.2022 17:32

Very nice tutorial.

Ответить
Mike Blair
Mike Blair - 19.07.2022 17:27

plese do not make content in class component style. it is outdated.

Ответить
johnsunny johnsunny
johnsunny johnsunny - 18.07.2022 15:12

sir I already have website and I'm trying to build an app and how to get the user data from web to my app
..pls help me sir I'm stuck

Ответить
Sambhaji subhash phalke
Sambhaji subhash phalke - 07.07.2022 07:52

You are not a actor you are a programmer , The simple behaviour explanation can be fine.Thank you by the way

Ответить
Leo Shrek
Leo Shrek - 08.06.2022 11:07

Why use then inside an await function. Your code can be simplified.

const { data } = await axios.get(‘url’)

Ответить
localblackman
localblackman - 27.05.2022 04:42

is there source code from this anywhere?

Ответить
Sensei
Sensei - 21.05.2022 11:32

What's the difference between this and any other request handler like superagent? Don't they just do the same thing?

Ответить
Yasya Indra
Yasya Indra - 21.05.2022 08:21

i want to code as confident as this guy is

Ответить
AmirMohG
AmirMohG - 05.05.2022 22:34

great tutorial, might wanna update it since react mostly relies on functions now

Ответить
Jasper
Jasper - 23.03.2022 16:52

Why dont you do a small React course? You will get great response.

Ответить
Jasper
Jasper - 23.03.2022 08:15

This is so so simple tutorial. I am totally impressed. Can you please update this with latest hooks and functional components? Thanks again!!

Ответить