Using redux and socket.io together

This page summarizes the projects mentioned and recommended in the original post on /r/reduxjs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • Socket.io

    Realtime application framework (Node.JS server)

    I have read on the redux site that sockets should not be stored in the state itself and that socket.io should really be implemented as a middleware. At the moment my confusion comes in with how to get the client side to access the store if I have it on the server side? This article provides an example by passing the store to the highest level component and re-rendering the application each time the state changes (socket.io event gets emitted each time store changes using store.subscribe()) however I have doubts about this approach for my application because it means that each client's tree is getting re-rendered by events from other rooms. How does the client subscribe to the store if it is server-side?

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts