External Resource Management
Valery Zinchenko

Valery Zinchenko @framemuse

About: Self-taught developer. Contribute to open source. Question everything, why everything's so slow...

Location:
I wish it would be Japan
Joined:
Nov 27, 2023

External Resource Management

Publish Date: May 19 '24
0 1

Hello, I as always working on interesting ideas for dev tools, BTW I'm totally Open Source developer, so they're gonna be independent and free.

Now I'm focused on several ideas such as External Resource or External Store, or as per Ably LiveSync.

But comparing to Ably's LiveSync, my idea is a completely Frontend part, which should accept potentially any source of data (HTTP, WebSocket, EventSource, ...). Which will contain such sources, initiate and get updated by them.

With this idea, it should solve some of Data Flow problems in Frontend by encapsulating sources in one "Resource" entity giving Observable state with controls (e.g. CRUD) and eventful nature for better customization.

In simple words, this should be something between TanStack Query and Ably's LiveSync.

What is your impression?

Comments 1 total

  • Valery Zinchenko
    Valery ZinchenkoMay 24, 2024

    There are always difficulties with events source(Websocket, EventSource).

    Also finding right keys for storing data, storing them or remember is a big problem since it explicitly violates application data borders.

    It makes code so messy to conditionally refetch or optimistically do something out of main consumer.

Add comment