Skip to content

Latest commit

 

History

History
72 lines (60 loc) · 2.74 KB

File metadata and controls

72 lines (60 loc) · 2.74 KB
title Respo API
scope module
kind overview
category reference
aliases
API
API Overview
respo api
api docs
respo.core
entry_for
api reference
respo.core
component api

Respo API

📚 Documentation Index

User APIs

Namespace Function
respo.core defcomp
div
<>
defeffect
create-element
render!
clear-cache!
realize-ssr!
list->
>>
respo.comp.space comp-space or =<
respo.comp.inspect comp-inspect
respo.render.html make-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.

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!

APIs

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