# cl-react
Common Lisp (Parenscript) utilities for building web apps in ReactJs

### PSX

PSX is a Parenscript equivilent to JSX, ReactJs's extended JavaScript syntax. It uses the familiar CL-WHO syntax for markup generation.

````common-lisp
(ps:ps 
  (psx 
    (:a :href "http://www.google.com"
      (:span :class "text-green" "Click here!"))))
````

=>

````javascript
  React.createElement('a', { href: 'http://www.google.com' }, [
    React.createElement('span', { className: 'text-green' }, ["Click here"]
  ]);
````

# cl-react
Common Lisp (Parenscript) utilities for building web apps in ReactJs

### PSX

PSX is a Parenscript equivilent to JSX, ReactJs's extended JavaScript syntax. It uses the familiar CL-WHO syntax for markup generation.

````common-lisp
(ps:ps 
  (psx 
    (:a :href "http://www.google.com"
      (:span :class "text-green" "Click here!"))))
````

=>

````javascript
  React.DOM.a({ href: 'http://www.google.com' }, [
    React.DOM.span({ className: 'text-green' }, "Click here")
  ]);
````

Update example to current output
Update example to current output