longbridge-gpui-global

Installation
SKILL.md

Overview

Global state in GPUI provides app-wide shared data accessible from any context.

Key Trait: Global - Implement on types to make them globally accessible

Quick Start

Define Global State

use gpui::Global;

#[derive(Clone)]
struct AppSettings {
    theme: Theme,
    language: String,
}
Installs
First Seen
longbridge-gpui-global — smithery/ai