2022-04-10
3523
#react
Gigi Sayfan
246
Apr 10, 2022 ⋅ 12 min read

Using WebSockets for two-way communication in React apps

Gigi Sayfan Gigi has been developing software professionally for more than 20 years in domains as diverse as instant messaging, morphing, chip fabrication process control, embedded multimedia applications for game consoles, brain-inspired machine learning, custom browser development, web services for 3D distributed game platforms, IoT sensors, and virtual reality.

Recent posts:

Getting started with Meilisearch: A complete guide

Learn how to set up Meilisearch, index documents, and build keyword, semantic, and hybrid search with AI-powered retrieval.

Michiel Mulders
Jul 28, 2026 ⋅ 7 min read
pnpm vs. npm: The short version

pnpm vs. npm: Which package manager should you use?

Compare pnpm and npm across security defaults, disk usage, dependency strictness, and workspace policy to decide which package manager fits your project.

Chinwike Maduabuchi
Jul 28, 2026 ⋅ 10 min read
Tailwind CSS vs. StyleX: A real migration with 20 components

Tailwind CSS vs. StyleX: A real migration with 20 components

I migrated 20 production-style components from Tailwind to StyleX. Here’s what the data showed about LOC, CSS bundle size, build time, and type safety.

Chizaram Ken
Jul 27, 2026 ⋅ 11 min read
JWT Authentication: Best Practices And When To Use It

JWT authentication: Best practices and when to use it

A guide for using JWT authentication to prevent basic security issues while understanding the shortcomings of JWTs.

Flavio Copes
Jul 23, 2026 ⋅ 11 min read
View all posts

Would you be interested in joining LogRocket's developer community?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now