Reagent 1.2.0
Released under the MIT
A simple ClojureScript interface to React.
Installation
To install, add the following dependency to your project or build file:
[reagent "1.2.0"]
Namespaces
reagent.core
Public variables and functions:
- adapt-react-class
- after-render
- argv
- as-element
- atom
- children
- class-names
- create-class
- create-compiler
- create-element
- current-component
- cursor
- dispose!
- flush
- force-update
- is-client
- merge-props
- next-tick
- partial
- props
- reactify-component
- reaction
- reaction
- render
- replace-state
- rswap!
- set-default-compiler!
- set-state
- state
- state-atom
- track
- track!
- with-let
- with-let
- wrap
reagent.debug
Public variables and functions:
- assert-callable
- assert-callable
- assert-component
- assert-component
- assert-js-object
- assert-js-object
- assert-new-state
- assert-new-state
- assert-some
- assert-some
- dbg
- dbg
- dev?
- dev?
- error
- error
- has-console
- log
- log
- println
- println
- prn
- prn
- time
- time
- track-console
- track-warnings
- tracking
- warn
- warn
- warn-unless
- warn-unless
- warnings
reagent.impl.component
Public variables and functions:
- *current-component*
- add-obligatory
- as-class
- built-in-static-method-names
- cache-react-class
- cached-react-class
- camelify-map-keys
- cljsify
- comp-name
- component-name
- create-class
- custom-wrapper
- dash-to-method-name
- do-render
- extract-children
- extract-props
- fn-to-class
- functional-do-render
- functional-render
- functional-render-fn
- functional-render-memo-fn
- functional-wrap-render
- get-argv
- get-children
- get-props
- get-wrapper
- map-to-js
- obligatory
- props-argv
- rat-opts
- react-class?
- reactify-component
- reagent-class?
- reagent-component?
- state-atom
- wrap-funs
- wrap-render
reagent.impl.template
Public variables and functions:
- *current-default-compiler*
- adapt-react-class
- as-element
- cache-get
- cached-custom-prop-name
- cached-parse
- cached-prop-name
- class-compiler
- convert-custom-prop-value
- convert-prop-value
- convert-props
- create-compiler
- custom-kv-conv
- custom-prop-name-cache
- expand-seq
- expand-seq-check
- expand-seq-dev
- fragment-element
- function-element
- hiccup-element
- hiccup-tag?
- HiccupTag
- kv-conv
- make-element
- maybe-function-element
- native-element
- NativeWrapper
- parse-tag
- prop-name-cache
- raw-element
- re-tag
- reag-element
- set-default-compiler!
- set-id-class
- tag-name-cache
- valid-tag?
- vec-to-elem
reagent.ratom
Public variables and functions:
- *ratom-context*
- atom
- check-derefs
- cursor
- debug
- flush!
- IDisposable
- IReactiveAtom
- IRunnable
- make-reaction
- make-track
- make-track!
- make-wrapper
- RAtom
- RCursor
- reaction
- Reaction
- reaction
- reactive?
- run!
- run!
- run-in-reaction
- running
- track
- Track
- track!
- with-let
- with-let
- with-let-destroy
- with-let-values
- Wrapper