https://github.com/nafg/scalajs-react-util
Some handy components and utilities for use with scalajs-react
https://github.com/nafg/scalajs-react-util
react scala scalajs scalajs-react
Last synced: 3 months ago
JSON representation
Some handy components and utilities for use with scalajs-react
- Host: GitHub
- URL: https://github.com/nafg/scalajs-react-util
- Owner: nafg
- Created: 2017-12-12T00:30:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2026-02-26T20:07:03.000Z (4 months ago)
- Last Synced: 2026-02-27T01:51:55.982Z (4 months ago)
- Topics: react, scala, scalajs, scalajs-react
- Language: Scala
- Homepage:
- Size: 574 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/nafg/scalajs-react-util)
# scalajs-react-util
Various utilities for use with scalajs-react.
* `AsyncStateFromProps`, for when your state (or part of it) is derived asynchronously from your props
* `FutureView`, for when you want to render a `Future`
* `Messages`, a global notification/alert system, which can be used to automatically report the result of a `Future` (such as a user action)
* `GlobalBusyIndicator`, to show a global indicator (such as a spinning animation) while a `Future` is in progress
* `SnapshotUtils`: various utilities for working with `StateSnapshot`, including a factory similar to the simple pre-1.2.0 factory, and `.toTagMod` to get `^.onChange` + `^.value`/`^.checked` for free, given a StateSnapshot zoomed to the value of an input field.