How I like to setup websockets in my web applications

preview_player
Показать описание

My VSCode Extensions:
- theme: material community high contrast
- fonts: Menlo, Monaco, 'Courier New', monospace
- errors: Error Lens
- extra git help: Git Lens
- tailwind css intellisense
- indent rainbow
- material icon theme
- prettier & eslint
- ES7+ React Snippets
Рекомендации по теме
Комментарии
Автор

Best video on socket so far, i will never forget the flow of the socket, the UI sends some events the server listens for it and in turn, it itself sends some events which the UI server listens on and gets whatever server has sent. bro this is mind blowing how short you made it.

xen
Автор

I tried learning web sockets 10 months ago and quit, this video was clear and very helpful i understood it, thank you!

skourt
Автор

Can you do a tutorial on socket authentication/reconnection?

FlipFlip
Автор

Can you also later do with server sent events too 🙂

anjalii
Автор

websocket is not connected for first time but after that it is connecting. please help??

welkxnu
Автор

I need catch the URL from websocket, but how?

eusouonizuka
Автор

I'd love to know how you handle WebSocket instances within a react environment. I have seen RTK users wrap the app in a WebSocket provider. However, I am creating an instance at the app level and passing this around to make requests.

This I feel may not be the best way as the hot reload of react can start to play badly with the WebSocket instance :(

IAmTerryClark
Автор

Hey! What would you recommend, for hosting the application? Because, I honestly can't find a good enough website that allows me to host it for free.

anmoljhamb
Автор

what if the button will call an API. how can i access the socket on the controller?

tiherus
Автор

can you made the same without localhost, I guess not. lol

-davian
Автор

Men, how you gonna teach people to code with a cursor, CODE ALONG WITHT THEIM

meekbronsen