API Reference
Welcome to the Refract API reference documentation. This section provides detailed information about the core APIs available in Refract.
Core APIs
- createApp - Initialize a new Refract application
- createComponent - Create a new component
- useLens - Access the lens system for state management
- useOptic - Work with optics for state manipulation
- createOptic - Create reactive references to nested state
Advanced Topics
- Performance Optimization - Learn how to optimize your Refract application
- Testing - Best practices for testing Refract components
Guides
- Getting Started - A step-by-step guide to building your first Refract app
- State Management - Understanding state management in Refract
- Effects - Working with side effects in Refract
Examples
Check out our examples repository for complete code samples and usage patterns.