Похожие чаты

I have to poll an api to get live data

every time from my frontend
So should I use useSwr in nextjs or should I do fetch in a web worker
Which will be more efficient?

5 ответов

8 просмотров

Use server sent events (SSE)

Athul-N Автор вопроса
Athul-N Автор вопроса
Athul N
Hmm Iam calling blockchain rpc

If thats an external api, guess that could be considered abuse. On what is best between the two depends on what you are already using for network requests and would want to add to the slug size

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

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

@LGCYMan @JustinKKW Q/A List 1. this part confuses me on #8: "From there, a bridge between erc20 LGXY and erc20 LGXY will be out once that swap is closed." does this mean ...
Sig | LGCY | BattleVerse L1 | BitWin
1
How do I get FrxEth? Need it to execute a contract
Abdullah $BTON
18
Did @Beeker really get banned? That's ridiculous. He's one of the few left here with half a brain and you might not always like his narrative @dgb_ycagel , but he often keeps ...
Leroy Gerrits
1
Anyone here suffers from unexplained aural migraines, who would be up for talking for a bit? Doesn't *have* to be aural, but I am not asking about headaches, I mean actual mi...
Martin Rys
55
async login(req: Request, res: Response, next: NextFunction): Promise<void> { try { const { errors, input } = await RequestValidator(LoginRequest, req.body...
. .
1
Я тут за тем, чтобы задать вопрос, так как не знаю ассемблер, учу с/с++. Короче, насколько дорога операция перехода в функцию при ее вызове? Дело в том, что в с++ есть макросы...
Максим Рябцев
12
A couple thoughts from a random internet stranger: 1. If you want this project to gain traction you cannot keep being negative. If I just came here after finding out about Kd...
Eric Wild
46
Hi Guys, I just end stake and there is shortage of the actual tokensamount and that shortage  appear eth stake in token column, any idea what is going on, meta mask scam our h...
Ivan Creates
10
А какие чаты вообще в ходу? Auto aim? И что еше
do you think you're better off alone? А
13
What website can you interact with the chip process?
Firstname Lastname
9
Карта сайта