Skip to content
Scala.js facades for core React.js utilities and components.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
core/src/main Removed default custom shouldComponentUpdate implementation Apr 9, 2019
docs Added showcase counter example and tests Jun 20, 2019
dom/src/main/scala/scommons/react/dom Added ReactDOM.createPortal support Mar 17, 2019
project Added showcase counter example and tests Jun 20, 2019
redux/src Added showcase counter example and tests Jun 20, 2019
script Added react demo application Mar 22, 2019
showcase Added showcase counter example and tests Jun 20, 2019
test-dom/src Added AsyncTestSpec.executeAfterDelay May 20, 2019
test/src
travis Added publish/release configuration Apr 12, 2019
.gitignore Moved scommons-react-core to separate scommons-react repo Jan 12, 2019
.travis.yml Added scommons-react-redux module Jun 19, 2019
LICENSE Moved scommons-react-core to separate scommons-react repo Jan 12, 2019
README.md Added showcase counter example and tests Jun 20, 2019
build.sbt Added scommons-react-redux module Jun 19, 2019
pgp.sbt Added publish/release configuration Apr 12, 2019
version.sbt Added publish/release configuration Apr 12, 2019

README.md

Build Status Coverage Status scala-index Scala.js

Scala Commons React

Scala.js facades for common React.js utilities and components.

It uses excellent scalajs-reactjs binding/facade library.

How to add it to your project

val scommonsReactVer = "1.0.0-SNAPSHOT"

libraryDependencies ++= Seq(
  "org.scommons.react" %%% "scommons-react-core" % scommonsReactVer,
  "org.scommons.react" %%% "scommons-react-dom" % scommonsReactVer,
  "org.scommons.react" %%% "scommons-react-redux" % scommonsReactVer,
  
  "org.scommons.react" %%% "scommons-react-test" % scommonsReactVer % "test",
  "org.scommons.react" %%% "scommons-react-test-dom" % scommonsReactVer % "test"
)

Latest SNAPSHOT version is published to Sonatype Repo, just make sure you added the proper dependency resolver to your build.sbt settings:

resolvers += "Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"

How to use it

How to Build

To build and run all the tests use the following command:

sbt test

Documentation

You can find more documentation here

You can’t perform that action at this time.