Reagent 0.9.0-rc4
Released under the MIT
A simple ClojureScript interface to React.
Installation
To install, add the following dependency to your project or build file:
[reagent "0.9.0-rc4"]
Topics
- Batching and Timing: How Reagent Renders Changes to Application State
- Question
- ## Question
- Controlled inputs
- #### Not An Absolute Introduction
- Interop with React
- Managing state: atoms, cursors, Reactions, and tracking
- ## Question
- # Tutorials
- React Features
- ## Question
- Using Hiccup to Describe HTML
- ## Question
- # Components
- # Components Are Reactive
- ## Question
- Reagent development
- Material-UI
- Smooth UI
Namespaces
reagent.core
Public variables and functions:
- adapt-react-class
- after-render
- argv
- as-component
- as-element
- atom
- children
- class-names
- component-path
- create-class
- create-element
- current-component
- cursor
- dispose!
- dom-node
- flush
- force-update
- force-update-all
- is-client
- merge-props
- next-tick
- partial
- props
- reactify-component
- render
- render-component
- replace-state
- rswap!
- set-state
- state
- state-atom
- track
- track!
- unmount-component-at-node
- 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
- as-element
- built-in-static-method-names
- cache-react-class
- cached-react-class
- camelify-map-keys
- cljsify
- comp-name
- component-path
- create-class
- custom-wrapper
- dash-to-method-name
- do-render
- extract-children
- extract-props
- fiber-component-path
- fn-to-class
- get-argv
- get-children
- get-props
- get-wrapper
- map-to-js
- obligatory
- props-argv
- rat-opts
- react-class?
- reactify-component
- reagent-class?
- reagent-component?
- shallow-obj-to-map
- state-atom
- static-fns
- wrap-funs
- wrap-render
reagent.impl.template
Public variables and functions:
- adapt-react-class
- as-element
- cache-get
- cached-custom-prop-name
- cached-parse
- cached-prop-name
- convert-custom-prop-value
- convert-prop-value
- convert-props
- custom-kv-conv
- custom-prop-name-cache
- expand-seq
- expand-seq-check
- expand-seq-dev
- find-dom-node
- fragment-element
- get-key
- has-selection-api?
- hiccup-err
- hiccup-tag?
- HiccupTag
- input-component-set-value
- input-component?
- input-handle-change
- input-node-set-value
- input-render-setup
- input-spec
- input-unmount
- js-val?
- key-from-vec
- kv-conv
- make-element
- native-element
- NativeWrapper
- parse-tag
- prop-name-cache
- re-tag
- reag-element
- reagent-input
- reagent-input-class
- set-id-class
- str-coll
- tag-name-cache
- these-inputs-have-selection-api
- try-get-key
- 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!
- unchecked-aget
- unchecked-aget
- unchecked-aset
- unchecked-aset
- with-let
- with-let
- with-let-destroy
- with-let-values
- Wrapper