You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New in this release is a router, type-safe and written entirely in Scala.js, for Single-Page Applications.
25
+
26
+
See [extra/ROUTER.md](https://github.com/japgolly/scalajs-react/blob/master/extra/ROUTER.md) for details.
27
+
28
+
#### Refs
25
29
* Refs can now be applied to components from the outside, prior to mounting. ([#44](https://github.com/japgolly/scalajs-react/issues/44))
26
30
* Refs can now refer to components and keep their types intact.
27
31
* Scala-based ReactComponent constructors now have `.set(key = ?, ref = ?)` with `.withKey(k)` being an alias for `.set(key = k)`.
28
32
* Instances (not objects) of `Ref` renamed to `RefSimple`, `RefP` renamed to `RefParam`. Creating refs is unchanged, so `val r = Ref("hehe")` still works.
29
33
30
-
#####Scalatags / `.vdom` major changes
34
+
#### Scalatags / `.vdom` major changes
31
35
Scalatags has been removed as a dependency.
32
36
It is instead now embedded directly and highly customised for React.
0 commit comments