Mock RouterCtl that does nothing but record events.
Mock RouterCtl that does nothing but record events.
Call events() to inspect recorded events, and clear() to clear them.
Houses a variable and provides React-like access to it.
Houses a variable and provides React-like access to it.
Provides mock-like instances of the following: - ReusableFn - StateAccess - StateSnapshot - StateSnapshot with Reusability
It also keeps a log of changes, accessible via .history()
.
The variable type.
0.11.0
Allows composition and abstraction of ReactTestUtils.Simulate
procedures.
Scala.JS currently doesn't support annotating facades for both script- and module-style output.
Scala.JS currently doesn't support annotating facades for both script- and module-style output. The default in scalajs-react remains script-style; users who use module-style and webpack/scalajs-bundler should simply reference the relevant objects below so that webpack 1) imports them, and 2) exposes them correctly.
(Since version 1.0.1) No replacement needed. Facades now support modules directly.