Posts Tagged "Redux"

Using Redux middleware for polling

In the frontend development world, we oftentimes need to have up-to-date data on the client. And to achieve that there are several options at our disposal: WebSockets (WS); Server-Sent Events (SSE); Polling (Short/Long). While the first to are preferred, polling

Read More
redux_middleware

Don’t use async Redux middleware

  Redux makes synchronous state updates explicit and reasonable, and makes visible the contract between React and the application: UI is a function of state, and it’s for this reason we’ll continue to use it. But asynchronous effects are a

Read More
react_apollo_redux

React Apollo vs Redux + REST: Implementing the same feature twice

Why we had to do the same feature twice Because of the way things have evolved in Wix, we have separate developers working on web and mobile. In mobile we are using React Native, so theoretically the same person could

Read More
Use Reselect Selectors in Redux

Using Reselect Selectors for Encapsulation and Performance with Redux

An overview of why and how to use Reselect with React and Redux In a good Redux architecture, you are encouraged to keep your store state minimal, and derive data from the state as needed. As part of that process,
Read More