Search
Using Immer for React State Management
7.8.2019
We make use of state to keep track of application data. States change as users interact with an application. When this happens, we need to update the state that is displayed to the user, and we do this using React’s setState.
Since states are not meant to be updated directly (because React’s state...
Indian Government Breaks Silence on Crypto Regulation
19.7.2019
The Indian government has finally spoken up about the regulatory framework for cryptocurrency it has been deliberating, providing answers to questions presented in the upper house of the Parliament of India. The government also confirmed that the report with the recommended crypto regulation...
Managing State in React using Unstated-Next
17.6.2019
In a previous post, we saw how to manage state using Unstated. As you might recall, Unstated uses React’s built-in setState to allow you create components that can consume state by subscribing to a provider — like the React’s Context API.
Well, we’re going to build off that last post by looking...
State Farm, USAA to Pay Each Other Insurance Claims on Blockchain by 2020
30.5.2019
Insurance giants State Farm and USAA are in advanced testing of a blockchain to automate claims processing
State Street’s Blockchain Lead Departs to Build Data Privacy Startup
23.5.2019
Moiz Kohari, State Street's global chief technology architect, has left to build a new data privacy startup
Jet Airways Sinks Further Into the Abyss as Top Executives Start Quitting
15.5.2019
Even until last year, India’s Jet Airways was the country’s biggest privately owned airline with the biggest market share, and there was no doubt that the airline was going to continue on its growth path as the airline industry expanded in the country. However, the company’s massive debt burden...
Build a state management system with vanilla JavaScript
25.7.2018
Managing state is not a new thing in software, but it’s still relatively new for building software in JavaScript. Traditionally, we’d keep state within the DOM itself or even assign it to a global object in the window. Now though, we’re spoiled with choices for libraries and frameworks to help...
Finite State Machines with React
24.7.2018
As JavaScript applications on the web have grown more complex, so too has the complexity of dealing with state in those applications — state being the aggregate of all the data that an application needs to perform its function. Over the last several years, there has been a ton of great...
Managing State in React With Unstated
29.5.2018
As your application becomes more complex, the management of state can become tedious. A component's state is meant to be self-contained, which makes sharing state across multiple components a headache. Redux is usually the go-to library to manage state in React, however, depending on how complex...
Understanding React `setState`
25.4.2018
React components can, and often do, have state. State can be anything, but think of things like whether a user is logged in or not and displaying the correct username based on which account is active. Or an array of blog posts. Or if a modal is open or not and which tab within it is active.
React...