ZigGreen

Results 9 comments of ZigGreen

Hey guys! There are a few workarounds\hacks for the issue The first one abuses Suspense behaviour when a component throws on every render. Also it has a small drawback compared...

Yeap the first one works only over some old 16 version of react that probably had a bug. The bug allowed me to force react to wait for the promise...

Yeah I see your point about re-rendering check this out. I tried to leave FunkyLoader but it keeps coming back :D ```js const FunkyLoader = () => { throw new...

No problemo ```js const DelayedLoader = ({ delay, onDelayEnd, onLoaded }) => { useEffect(() => { const id = setTimeout(onDelayEnd, delay); return () => { onLoaded(); clearTimeout(id); } }, []);...

It's kind of browser extension for the website. I can not spawn worker due to cross domain access control. However I still could instantiate WebWorker passing Blob object so I...

Проверил только что, работает исправно Вот код, который запускаю ```ts import OpenAPI, { MarketInstrument } from '@tinkoff/invest-openapi-js-sdk'; const apiURL = 'https://api-invest.tinkoff.ru/openapi'; const sandboxApiURL = 'https://api-invest.tinkoff.ru/openapi/sandbox/'; const socketURL = 'wss://api-invest.tinkoff.ru/openapi/md/v1/md-openapi/ws'; const...

привет. Если есть возможность, пошли пр!