How I coded a REAL-TIME LINE CHART with WEBSOCKETS and REACT

preview_player
Показать описание
Real-time Line Graph using React and Websockets

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

Learning React for the first time, already a fan of your channel.
This is great and straightforward!
Nice to see you were already going great 3 years ago.
Thanks and keep up the good work.

cm
Автор

I am currently working on my thesis project in which i am responsible for developing a web dashboard for an existing real-time network monitoring system. I am new to web dev and I reckon this vid is extremely helpful! Thank you!

yonxu
Автор

Great straightforward guide for web sockets in Node and React

tpalacino
Автор

Extremly Helpfull - especiially the part where you store the "currentData" - man ive been looking for hours - why my old data is not stored and overwritten! You made me very happy!

Meskarts
Автор

really easy to understand it thank you man for this video

xavierpierre
Автор

Extremely helpful video and well explained, thank you!

tikamikas
Автор

hey, idk y but the graph doesnt appear on my screen

aadi.p
Автор

Thank you for video, it's extremely helpful. I just subscribed to you channel. Keep the good work!

HugoRamirezSoto
Автор

What about ram and storage ? Can do it

walterzz-dy
Автор

please add some disclaimer that this method hog our resources, because there is an always-growing array everytime the interval triggers new data

stealthstalker
Автор

hi there, is there an alternative way of sending out new data without having to use setTimeOut?

blayke
Автор

I try to replicate the useEffect socket connection in my code, but when setData execute, it create multiple connection to the server, do you know why?

themasterfull
Автор

I'm getting "WebSocket is closed before the connection is established."

TechiesUnofficial
Автор

hi. How do you solve the multiplicity of emit when you reload the page?

diosdelfondo
Автор

Why don't we use lightweight charts

adwaitdeshmukh
Автор

how to delete the first item though, so it only displayed certain amount of data only in a single view

amammustofa
Автор

hi is there a dependency issue ? because when i tried this on mac it works fine but not on windows on windows it says connection failed : WebSocket connection to failed: WS.doOpen @ websocket.js:124 Transport.open @ transport.js:84 Socket.open @ socket.js:250 Socket @ socket.js:122 Socket @ socket.js:28 Manager.open.Manager.connect @ manager.js:226 (anonymous) @ manager.js:544 websocket.js:124

shaythuramelangkovan