---
title: "Discussion on \"Building Scalable WebSocket APIs with Socket.IO Syntax\" | Hashnode"
description: "Discussion on \"Building Scalable WebSocket APIs with Socket.IO Syntax\". Sockets can only transmit binary (text.)\nImagine we have this data\nconst message = {id: '123', name: 'Reilly', message: 'Hey'}\n\nHere's the problem: we want to send this data to the ui but we have hundreds of useEffects spread throughout the codebase...."
url: "https://hashnode.com/posts/building-scalable-websocket-apis-with-socketio-syntax/65de92c86da0e3d440b7f9ab"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building Scalable WebSocket APIs with Socket.IO Syntax](https://blog.reilly.dev/building-scalable-websocket-apis-with-socketio-syntax?utm_source=hashnode&utm_medium=feed)

Sockets can only transmit binary (text.) Imagine we have this data const message = {id: '123', name: 'Reilly', message: 'Hey'} Here's the problem: we want to send this data to the ui but we have hundreds of useEffects spread throughout the codebase....

Feb 28, 2024 · 2 min read · blog.reilly.dev  
Read the article

-   [#websockets](https://hashnode.com/tag/websockets)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Reilly O'Donnell](https://hashnode.com/@Reilly)

@Reilly · Remote

  
[View profile](https://hashnode.com/@Reilly)

Senior Frontend Engineer - Sharing everything I know about React, React Native, TS, and building fast, scalable apps

If you've got any questions feel free to DM on Twitter @reillyjodonnell

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
