scalajs-react
Lifts Facebook's React library into Scala.js and endeavours to make it as type-safe and Scala-friendly as possible.
Provides (opt-in) support for pure functional programming, with additional modules for Scalaz, Cats, and Monocle.
Comes utility modules extra
and test
, helpful for React in Scala(.js), rather than React in JS.
Includes a router, testing utils, performance utils, more.
Contents
- Usage & Getting Started
- Delving deeper
- Scala-only Utilities
- Testing
- Live Examples & Demos
- ScalaDoc: core | extra | scalaz72 | monocle | cats | test
- Changelogs — v1.1.1 (Latest)
External Resources
-
Templates & Tutorials
-
Libraries
- test-state - Integration/Functional/Property testing for scalajs-react.
- scalajs-benchmark
- chandu0101 / scalajs-react-components
- payalabs / scalajs-react-bridge - Boilterplate free use of JS components
- payalabs / scalajs-react-mdl - (Material Design Lite components)
- diode - library for managing application state, influenced by Flux and Elm
-
Open Source Projects, which are using scalajs-react
- scastie - An interactive playground for Scala https://scastie.scala-lang.org
- scalafiddle-editor - Web user interface for ScalaFiddle https://scalafiddle.io
- scala-weather-app - Yet another weather application, based on Scala.js, scalajs-react and Playframework
Requirements:
- React 15.3+
- Scala 2.11 or 2.12.
- Scala.JS 0.6.17+