reflex-dev
Installation
SKILL.md
Reflex Development
Overview
Reflex is a full-stack Python framework for building web applications without writing JavaScript. Apps compile to a React frontend and FastAPI backend, with state management and event handlers running entirely in Python.
Architecture:
- Frontend: Compiled to React (JavaScript) for UI rendering
- Backend: FastAPI server running Python event handlers
- Communication: WebSockets for real-time state updates
- State: Server-side Python state synchronized to frontend
Core Concepts
State Management
State is a Python class that holds all mutable data and event handlers. All state variables must be JSON-serializable.