-
This is a common approach in JS land, and there are plenty of libraries that help abstract the logic and make sure the state is consistent, like swr or TanStack Query.
-
InfluxDB
Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
-
RemoteDataK
Algebraic data type (ADT) to represent the state of data that is loading from/to remote sources/destinations
There are implementations already written for multiple languages [1] [2] [3], but since our app is not so complex, we can create a simpler version ourselves.
-
There are implementations already written for multiple languages [1] [2] [3], but since our app is not so complex, we can create a simpler version ourselves.
-
I have first heard about it when I was working with Elm [1] through a popular blog post (at the time) How elm slays a UI antipattern.
Related posts
-
Use Notion as your CMS along with Next.js
-
Building React Components Using Unions in TypeScript
-
Build Smarter, Not Harder: Simplifying Backend Workflows with Build-time GraphQL
-
How are you building React applications? It's time to move on from Create React App
-
Why and How We Retired Elm at Culture Amp