Respo API

User APIs

NamespaceFunction
respo.coredefcomp
div
<>
defeffect
create-element
render!
clear-cache!
realize-ssr!
list->
>>
respo.comp.spacecomp-space or =<
respo.comp.inspectcomp-inspect
respo.render.htmlmake-string

Lower level APIs

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.

NamespaceFunction
respo.render.expandrender-app
respo.util.formatpurify-element
mute-element
respo.util.listmap-val
map-with-idx
respo.render.difffind-element-diffs
respo.render.patchapply-dom-changes
respo.controller.clientactivate-instance!
patch-instance!

APIs

map-with-idx
respo.util.list/map-with-idx identity ([] :a :b)
; [] ([] 0 :a) ([] 1 :b)