client-side-views

Official

Create type-safe React/Hilla client views

Authorvaadin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Building client-side React/Hilla views in Vaadin 25 requires coordinating file-based routing, type-safe backend communication, client-side state, and secure server endpoints; this Skill consolidates conventions, patterns, and safety practices so developers can implement interactive browser UIs reliably and consistently.

Core Features & Use Cases

  • File-based routing conventions and ViewConfig metadata to map .tsx files to application routes and menus.
  • Guidance for @BrowserCallable Java endpoints and the generated TypeScript clients so frontend code can call backend services securely and with proper error handling.
  • Reactive endpoints and subscription patterns for server push using Flux and EndpointSubscription, including subscribe/unsubscribe and reconnection handling.
  • Signal-based state management with useSignal/useComputed for efficient DOM updates and examples for common patterns like product lists, detail pages, and dashboards.
  • Security and best practices: recommended annotations, endpoint statelessness, error handling templates, and anti-patterns to avoid common mistakes.

Quick Start

Create a React view at src/main/frontend/views/products/@index.tsx that calls ProductService.findAll() from Frontend/generated/endpoints, stores the results with useSignal, and renders them in a grid.

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: client-side-views
Download link: https://github.com/vaadin/claude-plugin/archive/main.zip#client-side-views

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 223,000+ vetted skills library on demand.