diff --git a/latest/rumext.v2.html b/latest/rumext.v2.html index 1250a56..8bd048c 100644 --- a/latest/rumext.v2.html +++ b/latest/rumext.v2.html @@ -10,24 +10,24 @@
)
(check-props props & [eq-f :as rest])
A macro version of the check-props
function
(defc & args)
A macro for defining component functions. Look the user guide for understand how to use it.
-(defc & args)
A macro for defining component functions. Look the user guide for understand how to use it.
-(deferred component)
(deferred component sfn)
A higher-order component that just deffers the first render to the next tick
+(defc & args)
A macro for defining component functions. Look the user guide for understand how to use it.
+(deferred component)
(deferred component sfn)
A higher-order component that just deffers the first render to the next tick
(deps)
(deps a)
(deps a b)
(deps a b c)
(deps a b c d)
(deps a b c d e)
(deps a b c d e f)
(deps a b c d e f g)
(deps a b c d e f g h)
(deps a b c d e f g h & rest)
A helper for creating hook deps array, that handles some adaptations for clojure specific data types such that UUID and keywords
(deref iref)
A rumext hook for deref and watch an atom or atom like object. It internally uses the react.useSyncExternalSource API
(element klass)
(element klass props)
Create a react element. This is a public API for the internal jsx
function
(fnc & args)
A macro for defining inline component functions. Look the user guide for understand how to use it.
-(fnc & args)
A macro for defining inline component functions. Look the user guide for understand how to use it.
-(fnc & args)
A macro for defining inline component functions. Look the user guide for understand how to use it.
+Lets you display React components inside a browser DOM node whose HTML content was previously generated by react-dom/server
+Lets you display React components inside a browser DOM node whose HTML content was previously generated by react-dom/server
(lazy-component ns-sym)
A macro that helps defining lazy-loading components with the help of shadow-cljs tooling.
-(lazy-component ns-sym)
A macro that helps defining lazy-loading components with the help of shadow-cljs tooling.
-(memo component)
(memo component eq?)
High order component for memoizing component props. Is a rumext variant of React.memo what accepts a value comparator function (instead of props comparator)
+(lazy-component ns-sym)
A macro that helps defining lazy-loading components with the help of shadow-cljs tooling.
+(memo component)
(memo component eq?)
High order component for memoizing component props. Is a rumext variant of React.memo what accepts a value comparator function (instead of props comparator)
Add element to the DOM tree. Idempotent. Subsequent mounts will just update element.
Render element
in a DOM node
that is ouside of current DOM hierarchy.
(spread target & [other :as rest])
A helper for create spread js object operations. Leaves the keys untouched.
-(spread target & [other :as rest])
A helper for create spread js object operations. Leaves the keys untouched.
-(spread-props target & [other :as rest])
A helper for create spread js object operations. Adapts compile time known keys to the react props standard transformations.
-(spread-props target & [other :as rest])
A helper for create spread js object operations. Adapts compile time known keys to the react props standard transformations.
-(spread target & [other :as rest])
A helper for create spread js object operations. Leaves the keys untouched.
+(spread-props target & [other :as rest])
A helper for create spread js object operations. Adapts compile time known keys to the react props standard transformations.
+(spread-props target & [other :as rest])
A helper for create spread js object operations. Adapts compile time known keys to the react props standard transformations.
+(with-effect deps & body)
A convenience syntactic abstraction (macro) for useEffect
(with-effect deps & body)
A convenience syntactic abstraction (macro) for useEffect
(with-layout-effect deps & body)
A convenience syntactic abstraction (macro) for useLayoutEffect
(with-layout-effect deps & body)
A convenience syntactic abstraction (macro) for useLayoutEffect
(with-memo deps & body)
A convenience syntactic abstraction (macro) for useMemo
(with-memo deps & body)
A convenience syntactic abstraction (macro) for useMemo