Let's build a polling mechanism

preview_player
Показать описание
together, live!

#javascript #typescript
Рекомендации по теме
Комментарии
Автор

These are some of the best programming videos on Youtube right now. Absolutely love it!

jordanmanley
Автор

You can see the passion in his face! Im hyped up 👏👏👏

RezaBuilds
Автор

Mate, absolute joy watching this stream. I absolutely loved how you focused on getting shit done first before cleanup.

Also found it crazy how you managed to squeeze in this beautiful stream in the midst of your meetings.

jasonpraful
Автор

I came to know you & BuilderIO a couple years back when I started building low code tools. Its so great to see you create such awesome videos :)

aadityabhusal
Автор

Great stuff, completely agree on your pragmatic take 👍

nicolasdelfino
Автор

This stream is so valuable! Pls keep it up!

loiatqd
Автор

I like the postPluginMessage utility function setup at 27:00, but I'm a bit confused. Where does the parent variable in the function come from?

JanEwaldable
Автор

Thank you man, I always learn a lot from you 💪

ricko
Автор

Can you not do polling on the window itself with:
const authWindow = window.open('url', '_blank', 'popup=yes')
Then set an interval that checks
if (authWindow.closed) {
clearInterval(intervalId)
//your logic
}

I am still at the beginning of the video so you may have mentioned that it does not work, in which case, please ignore 😅

Draqotr
Автор

What are your thoughts about subscribing to a firestore query, which uses web sockets?

hunterwilhelm
Автор

Can't you just post a message from a browser window a to browser window b

thelazycoder
Автор

Stop just stop pilling already, Please for the love of got learn about aync, event driven models. Teach people how to fire off, broadcast, publish, an event. Do some long processing in the background THEN push an event/message back the client. There are many technologies now that enable this. Plenty of managed technologies that make this stupid simple. Just stop with these polling tutorials for the love of god! This is such an antiquated approach that has been around since the 90's

cas