React

The Ultimate Cheat Sheet on Splitting Dynamic Redux Reducers

The Ultimate Cheat Sheet on Splitting Dynamic Redux Reducers

This post is specific to need of code-splitting in React/Redux projects. While exploring the possibility to optimise the application, the common problem occurs with reducers. This article specifically focuses on how do we split reducers to be able to deliver them in chunks.

What are the benefits of splitting reducers in chunks?

1) True code splitting is possible

2) A good architecture can be maintained by keeping page/component level reducers isolated from other parts of application minimising the dependency on other parts of application.

What is Gatsby.Js and What Problems Does it Solve?

What is Gatsby.Js and What Problems Does it Solve?

According to their site, “Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps”. Gatsby allows the developers to make a site using React and work with any data source( CMSs, Markdown, etc ) of their choice and then at the build time it pulls the data from these sources and spits out a bunch of static files that are optimized by Gatsby for performance. Gatsby loads only the critical HTML, CSS and JavaScript so that the site loads as fast as possible. Once loaded, Gatsby prefetches resources for other pages so clicking around the site feels incredibly fast.

How to Implement Server Sent Events Using Python Flask and React

How to Implement Server Sent Events Using Python Flask and React

A typical Request Response cycle works such that client sends request to server and server responds to that request. But there are few use cases where we might need to send data from server without request or client is expecting a data that can arrive at anonymous time.There are few mechanisms available to solve this problem.

Server Sent Events

Broadly we can classify these  as client pull and server push mechanisms.Websockets is a bi directional mechanism where data is transmitted via full duplex TCP protocol.