Popularity
8.8
Stable
Activity
4.7
-
1,627
65
231

Description

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.

Programming language: Scala
License: Apache License 2.0
Tags: Web Frameworks     JavaScript     Scala.js     FP     React    
Latest version: v1.7.7

scalajs-react alternatives and similar packages

Based on the "JavaScript" category.
Alternatively, view scalajs-react alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of scalajs-react or a related project?

Add another 'JavaScript' Package

README

scalajs-react

Build Status Gitter

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 Cats, Cats Effect, and Monocle.

Comes with utility modules [extra](extra/) and [test](test/), helpful for React in Scala(.js), rather than React in JS. Includes a router, testing utils, performance utils, more.

Contents
  • [Usage & Getting Started](doc/USAGE.md)
    • [Modules](doc/MODULES.md)
    • [VDOM](doc/VDOM.md)
    • [Hooks](doc/HOOKS.md)
    • [Refs](doc/REFS.md)
    • [IDE support](doc/IDE.md)
    • [The Callback class](doc/CALLBACK.md)
    • [React Context](doc/CONTEXT.md)
  • Delving deeper
    • [Global Config](doc/CONFIG.md)
    • [Types](doc/TYPES.md)
    • [Interoperability](doc/INTEROP.md)
    • [Creating an Effect-Agnostic Library](doc/FX_AGNOSTICISM.md)
    • React SSR (Server-Side Rendering) on the JVM
    • [Functional programming](doc/FP.md)
  • Scala-only Utilities
    • [Router](doc/ROUTER.md)
    • [Performance Management](doc/PERFORMANCE.md)
    • [Other](doc/EXTRA.md)
  • [Testing](doc/TESTING.md)
  • Live Examples & Demos
  • [Changelogs](doc/changelog) — [v2.1.1 (Latest)](doc/changelog/2.1.1.md)
External Resources
Requirements:
  • React ≥ 17
  • Scala ≥ 2.13
  • Scala.JS ≥ 1.10
Support:

If you like what I do —my OSS libraries, my contributions to other OSS libs, my programming blog— and you'd like to support me, more content, more lib maintenance, please become a patron! I do all my OSS work unpaid so showing your support will make a big difference.