Liking cljdoc? Tell your friends :D
ClojureScript only.

reacl-c.interop.react


elementcljs

(element element)

Return an item that renders as the given React element. Note that this means the item can only be used once in an item tree, unlike other items. Prefer using lift if you can.

Return an item that renders as the given React element. Note that this
means the item can only be used once in an item tree, unlike other
items. Prefer using [[lift]] if you can.
sourceraw docstring

liftcljs

(lift class props & children)

Returns an item implemented by the given React class or function component and props. Note that children must be React element or strings. See reacl-c.main.react/embed to embed Reacl-C items as children.

Returns an item implemented by the given React class or function
component and props. Note that children must be React element or
  strings. See [[reacl-c.main.react/embed]] to embed Reacl-C items as
  children.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close