tauri-syntax-events

Official

Rust-frontend event patterns for Tauri apps

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Tauri apps require a structured and safe event system to coordinate Rust backend logic with frontend code. This Skill addresses memory leaks from missing unlisten cleanup, payload serialization pitfalls, and the need for consistent event APIs across Rust and TypeScript.

Core Features & Use Cases

  • Establishes and tests the Emitter/Listener workflow for broadcast, targeted, and filtered events.
  • Provides patterns for frontend listeners (listen/once) and backend emitters (emit/emit_to/emit_filter), with examples across React, Vue, Svelte.
  • Real-world use: drive progress updates or UI states from background tasks without losing events during navigation or reloads.

Quick Start

Register a frontend listener for your custom events, then emit from Rust when needed, and ensure unlisten cleanup when components unmount.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tauri-syntax-events
Download link: https://github.com/OpenAEC-Foundation/OpenAEC-Workspace-Composer/archive/main.zip#tauri-syntax-events

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.