Похожие чаты

API.del(

path + '/' + id,
() => this.fetchData(this.props),
e => Say.error('Error ' + e.message)
)

Does this look like a bad code?

7 ответов

5 просмотров

Is this from a framework? And which is it?

Пользователь 61024
React

Great. Please what implementation is this? Link to the doc if possible. I have just started learning react and haven't used that function before.

Пользователь-61024 Автор вопроса
Пользователь 61024
React

Wat? I see nothing React about it

Simen
Wat? I see nothing React about it

I guess this.props is the React part

Thomas
I guess this.props is the React part

When using the function, yes. I see absolutely nothing React related in the implementation of it

Похожие вопросы

Обсуждают сегодня

коллеги, добрый вечер! А никто не знает как модальная форма может себя закрыть? Ну допустим модальная форма определила, что смысла ей работать нет и хочет вернуть modalResult...
Михаил
83
KDSwap, a decentralized exchange (DEX) built on Kadena, is setting a new standard by working towards becoming a MiCA-compliant DEX in Europe. What sets KDSwap apart? While ...
Mal (will not DM you first) Sutton
20
Никто случаем не знает, как по-хорошему делается дозапись текста в edit на винапи?
The Bird of Hermes
25
объясните, я прада не понимаю. зачем в перле нужен аниивент? кому он пригодился в действительно нагруженных проектах?
nerv
30
Hey Curve Dev Team, I hope you're all doing well! I have a few questions and some clarifications I need regarding the get_pool_asset_type function in the MetaRegistry. Here’s...
Mattia Papa
2
Who thinks CSW is going to jail??
James_BSV
31
А какие у этого try практические плюсы перед eval?
Oleg Volkov
41
Wazirx withdraw de raha hai kya kisi ka.?
Hitesh Maru
21
Hi there everyone Is there anyone who have not started hamster bot yet? I need only one, I'll be glad if you do this for me DM if you haven't yet
Mehrshad
53
Ребзя, а кто-нибудь делал на сайте Турбо Страницы Яндекса? Какую-то пользу они дают или нет? Приносят ли трафик?
Андрей [aharito] Харитонов
20
Карта сайта