mirror of
https://github.com/tonsky/rum.git
synced 2025-08-03 18:13:19 +08:00
cljdoc badge
This commit is contained in:
@ -10,6 +10,7 @@ Rum is a client/server library for HTML UI. In ClojureScript, it works as React
|
||||
- [Comparison to other frameworks](#comparison-to-other-frameworks)
|
||||
- [Who’s using Rum?](#whos-using-rum)
|
||||
- [Using Rum](#using-rum)
|
||||
- [API Docs](#api-docs)
|
||||
- [Defining a component](#defining-a-component)
|
||||
- [Rendering component](#rendering-component)
|
||||
- [Updating components manually](#updating-components-manually)
|
||||
@ -77,6 +78,10 @@ Rum:
|
||||
|
||||
Add to project.clj: `[rum "0.11.2"]`
|
||||
|
||||
### API Docs
|
||||
|
||||
[](https://cljdoc.xyz/d/rum/rum/CURRENT)
|
||||
|
||||
### Defining a component
|
||||
|
||||
Use `rum.core/defc` (short for “define component”) to define a function that returns component markup:
|
||||
|
Reference in New Issue
Block a user