client-side-views
Installation
SKILL.md
Client-Side Views with React and Hilla in Vaadin 25
Use the Vaadin MCP tools (search_vaadin_docs) to look up the latest documentation whenever uncertain about a specific API detail. Always set vaadin_version to "25" and ui_language to "react".
When to Use Client-Side Views
Client-side (React/Hilla) views run in the browser and communicate with Java endpoints over HTTP. Choose them when:
- High traffic — no server-side UI state per user, so the server scales better
- Offline support — views can work without a server connection
- Fine-grained DOM control — full access to the React ecosystem and browser APIs
- Rich interactivity — complex animations, drag-and-drop, or canvas rendering
Use server-side Flow views when you need rapid prototyping with pure Java, direct database access from UI code, or full server-side security for every interaction.
A single Vaadin 25 application can mix both models — Flow views and Hilla views coexist via the generated routes.tsx.