Coherent.js Documentation
Welcome to the official documentation for Coherent.js, a high-performance server-side rendering framework built on pure JavaScript objects.
📚 Documentation Structure
🚀 Getting Started
- Introduction - Overview and philosophy
- Quick Start - 5-minute setup guide
- Installation - Detailed setup instructions
📦 Core Framework
- Framework Overview - Core concepts and architecture
- Hydration - Client-side hydration guide
- Events - Event handling system
- Routing - Object-based routing
- Styling - CSS integration
🧩 Components
- Basic Components - Building with pure objects
- Advanced Components - Complex patterns
- State Management - Component state
- Advanced State - Complex state patterns
- Reactive State - @coherent.js/state package
- Styling Components - Component styling
🌊 Client-Side
- Router - Client-side routing
- Hydration Guide - Practical hydration
- Advanced Hydration - Complex patterns
🏗️ Server-Side
- SSR Guide - Server-side rendering
🗄️ Database
- Integration - Database setup
- Query Builder - SQL utilities
- Query Builder API - API reference
🌐 API Framework
☁️ Deployment
- Guide - Deployment strategies
- Integrations - Framework adapters
- Performance - Optimization techniques
- Security - Security best practices
🔧 Advanced
- Utilities - Shared rendering utilities
📖 Examples
- Performance - Performance patterns
- Full Stack - Complete applications
- Tutorial - Step-by-step guide
🔄 Migration
- From Other Frameworks - React/Vue migration
- Package Reorganization - v1.0.0-beta.2 upgrade
🎯 Quick Navigation
I want to...
- Get started quickly → Quick Start
- Build components → Basic Components
- Add interactivity → Hydration
- Manage state → State Management
- Handle routing → Router
- Work with databases → Database Integration
- Deploy to production → Deployment Guide
- Migrate from React/Vue → Migration Guide
📦 Package Reference
Coherent.js is a monorepo with multiple packages:
Core Packages
@coherent.js/core- Core framework@coherent.js/client- Client-side utilities@coherent.js/api- API framework
Integration Packages
@coherent.js/express- Express.js adapter@coherent.js/fastify- Fastify adapter@coherent.js/koa- Koa adapter@coherent.js/nextjs- Next.js integration
Feature Packages
@coherent.js/database- Database adapters@coherent.js/forms- Form utilities@coherent.js/i18n- Internationalization@coherent.js/seo- SEO tools@coherent.js/testing- Testing utilities@coherent.js/state- Reactive state management@coherent.js/devtools- Developer tools
🆘 Getting Help
If you need help:
- Check the API Reference for function signatures
- Look at Examples for practical implementations
- Try the Quick Start guide
- Review Performance Patterns for optimization
- Open an issue on GitHub
📄 License
Coherent.js is MIT licensed.