-
Notifications
You must be signed in to change notification settings - Fork 10
API
ChenYong edited this page Aug 17, 2020
·
23 revisions
Namespace | Function |
---|---|
respo.core |
defcomp |
div |
|
<> |
|
defeffect |
|
defplugin |
|
create-element |
|
render! |
|
clear-cache! |
|
realize-ssr! |
|
list-> |
|
>> |
|
respo.comp.space |
comp-space or =< |
respo.comp.inspect |
comp-inspect |
respo.render.html |
make-string |
Normally you don't need low level APIs, and the basic APIs are enough for building a apps.
I documented the APIs that can be useful. It's possible to discover new features we have't noticed yet.
Namespace | Function |
---|---|
respo.render.expand |
render-app |
respo.util.format |
purify-element |
mute-element |
|
respo.util.list |
map-val |
map-with-idx |
|
respo.render.diff |
find-element-diffs |
respo.render.patch |
apply-dom-changes |
respo.controller.client |
activate-instance! |
patch-instance! |
(respo.util.list/map-val inc {:a 1, :b 2})
; ([:a 2] [:b 3])
(respo.util.list/map-with-idx identity [:a :b])
; ([0 :a] [1 :b])