frontend-data-flow

Manage frontend data flow with React Query and Protobuf event streams.

6|5|Updated Nov 11, 2025
One-click install
npx skills add https://github.com/Emyrk/chronicle --skill frontend-data-flow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-data-flow
Source: https://github.com/Emyrk/chronicle/tree/main/agent-skills/frontend-data-flow
Command: npx skills add https://github.com/Emyrk/chronicle --skill frontend-data-flow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of efficiently managing diverse data streams in a frontend application, optimizing for performance and responsiveness.

Core Features & Use Cases

  • Dual Data Handling: Manages both REST API (JSON) data via React Query and high-volume event streams (Protobuf binary).
  • Optimized Data Fetching: Utilizes gzip compression and Web Workers for efficient decoding and processing of event streams.
  • Use Case: When displaying real-time combat logs in a game interface, this Skill ensures smooth updates by efficiently fetching, decoding, and rendering event data without blocking the UI.

Quick Start

Use the frontend-data-flow skill to understand how React Query and Protobuf are used for data fetching.

Frequently Asked Questions about frontend-data-flow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage high-volume event streams in React without blocking the UI?

Manage high-volume event streams by fetching gzip-compressed Protobuf binary data and decoding it in Web Workers, preventing UI blocking while rendering real-time updates efficiently.

What is the best way to combine React Query with Protobuf for frontend data flow?

The best way to combine React Query with Protobuf is using a dual data handling approach: React Query for REST API JSON data and Protobuf for high-volume event streams.

How do I generate TypeScript types from a Go SDK for Protobuf event streams?

Generate TypeScript types from a Go SDK using the guts tool, which handles type generation for Protobuf event streams consumed by the frontend application.

Does this frontend data flow approach handle instance-level caching and deduplication?

Yes, this frontend data flow approach handles instance-level caching and deduplication via InstanceEventsContext, ensuring efficient data management for high-volume event streams.

Can I use Web Workers to decode gzip-compressed Protobuf data in the browser?

Yes, you can use Web Workers to decode gzip-compressed Protobuf binary data in the browser, offloading heavy processing from the main thread to maintain UI responsiveness.

When do I need Protobuf instead of JSON for frontend data fetching?

You need Protobuf instead of JSON when handling high-volume event streams, such as real-time combat logs in a game interface, where gzip-compressed binary data ensures efficient fetching and smooth rendering.