Liking cljdoc? Tell your friends :D

reacl-basics.actions.ajax

Action for making Ajax requests, based on clj-ajax.

Action for making Ajax requests, based on clj-ajax.
raw docstring

reacl-basics.actions.core

Utilites to defines actions and utilities to specialize and execute them.

Utilites to defines actions and utilities to specialize and execute
them.
raw docstring

reacl-basics.adom

clj

Supporting macros for Reacl's DOM library.

Supporting macros for Reacl's DOM library.
cljs

A small layer over the primitive dom elements of [[reacl2.dom]], where all event-handlers must return a [[reacl2.core/return]] value instead.

If no event-handlers are registered, then the functions here return a primitive element identical to their counterparts in [[reacl2.dom]]. If event handlers are used, then a class instance is returned instread.

Note that the event-handler must not 'return' a new :app-state or :local-state; only :message and :action are meaningful.

A small layer over the primitive dom elements of [[reacl2.dom]], where all event-handlers must return a [[reacl2.core/return]] value instead.

If no event-handlers are registered, then the functions here return a
primitive element identical to their counterparts
in [[reacl2.dom]]. If event handlers are used, then a class instance
is returned instread.

Note that the event-handler must not 'return' a new :app-state or :local-state; only :message and :action are meaningful.
raw docstring

reacl-basics.bootstrap4

reacl-basics.classes

Functions and macros that create classes with some typical properties and features.

Functions and macros that create classes with some typical properties and features.
raw docstring

reacl-basics.forms

Functions and classes to build user input forms based on app-states and declarative client side validation.

Functions and classes to build user input forms based on app-states
and declarative client side validation.
raw docstring

reacl-basics.pages.core

A framework for page-based application.

For a standard HTML5 history page-based application, create 3 files:

my_routes.cljc

(ns my-routes (:require [reacl-basics.pages.routes :as r]))

(r/defroute article "/article/:id")

my_pages.cljs

(ns my-pages (:require [reacl-basics.pages.core :as p]
                       [my-routes :as my]))

(defclass article-page this app-state [id]
  render ...)

(defclass main this app-state []
  render
  (html5-history-router (reacl/opt ...) app-state
    {my/article (p/page article-page)}))

my_client.clj

(ns my-client (:require [reacl-basics.pages.ring :as r]
                        [reacl-basics.pages.routes :as routes]
                        my-routes))

(-> app
    (r/wrap-client-routes routes/routes (ring-http/ok "<html>...")))

A framework for page-based application.

For a standard HTML5 history page-based application, create 3 files:

my_routes.cljc
```
(ns my-routes (:require [reacl-basics.pages.routes :as r]))

(r/defroute article "/article/:id")
```

my_pages.cljs
```
(ns my-pages (:require [reacl-basics.pages.core :as p]
                       [my-routes :as my]))

(defclass article-page this app-state [id]
  render ...)

(defclass main this app-state []
  render
  (html5-history-router (reacl/opt ...) app-state
    {my/article (p/page article-page)}))
```

my_client.clj
```
(ns my-client (:require [reacl-basics.pages.ring :as r]
                        [reacl-basics.pages.routes :as routes]
                        my-routes))

(-> app
    (r/wrap-client-routes routes/routes (ring-http/ok "<html>...")))

```
raw docstring

reacl-basics.subs.server

Subscriptions to Ajax and Websockets.

Subscriptions to Ajax and Websockets.
raw docstring

reacl-basics.subs.time

Subscribables that have to do with time.

Subscribables that have to do with time.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close