Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
triyambakam
· 2y ago · 0 comments
What about a "creator" property on the ws event and the message handler filters for self created events? Alternatively, just send an OK back as the http response and always rely on the ws message to update the UI/state?
Comments
[–]
sandipghane
2y ago
Is it good way to rely on web-socket events instead of API responses?
[–]
triyambakam
OP
2y ago
You need to rely on something, not sure it's avoidable