Purescript Concur (React Backend)
Concur UI Lib implementation for Purescript. React Backend.
Documentation
API documentation is published on Pursuit.
Installation
bower install purescript-concur-react
Building from source
git clone https://github.com/ajnsit/purescript-concur.git
cd purescript-concur
yarn # or npm install
psc-package update # or bower install
# Build library
npm run-script build
# Build examples
npm run-script build-examples
# Check examples
open html/index.html
External React Components
Concur supports using external React components. For example, there is an ongoing effort to create concur bindings for SemanticUI-React. Look at the Sources, and the Demo.
Examples
Demo and Source for composing all the examples in one page.
Individual example sources -
- Hello World! Shows simple effectful widgets. Source.
- A simple counter widget. Source.
- A postfix calculator. Source.
- Using AJAX and handling JSON responses. Source.
- A small widget to visualise CSS color codes. Source.
- Asynchronous timers which can be cancelled. Source.
- Performance test - A huge list of 50 thousand parallel buttons. This has two variants, fast (uses slightly lower level interface) and slow (idiomatic concur code). Source.