j-mueller / purescript-concur

Concur UI Framework for Purescript

Home Page:https://ajnsit.github.io/purescript-concur/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 -

  1. Hello World! Shows simple effectful widgets. Source.
  2. A simple counter widget. Source.
  3. A postfix calculator. Source.
  4. Using AJAX and handling JSON responses. Source.
  5. A small widget to visualise CSS color codes. Source.
  6. Asynchronous timers which can be cancelled. Source.
  7. 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.

About

Concur UI Framework for Purescript

https://ajnsit.github.io/purescript-concur/

License:MIT License


Languages

Language:PureScript 97.2%Language:HTML 2.3%Language:JavaScript 0.4%