Scala.js React wraps Facebook React for Scala.js with a strong emphasis on type safety and functional idioms. It provides a typed virtual DOM interface, reusable components, hooks, and utilities for routing, testing, SSR, and performance profiling, all aligned with Cats, Cats Effect, and Monocle ecosystems.
Features
- Typed React bindings: VDOM, Props, State, Hooks, Refs
- Effect-agnostic architecture (supports Cats Effect, Monix, etc.)
- Utility modules: extra, test, router, performance tools
- SSR support from Scala JVM projects
- Comprehensive integration with Typelevel libraries (Monocle, Cats)
- Rich documentation, examples, and template projects
