Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ire4ever1190/tree

Reactive frontend framework for Nim
https://github.com/ire4ever1190/tree

frontend nim reactive signals

Last synced: 1 day ago
JSON representation

Reactive frontend framework for Nim

Awesome Lists containing this project

README

        

# 🌲 Tree

[![Tests](https://github.com/ire4ever1190/tree/actions/workflows/main.yml/badge.svg)](https://github.com/ire4ever1190/tree/actions/workflows/main.yml)

[Docs](https://ire4ever1190.github.io/tree/theindex.html)

Frontend framework based on signals. It's in the early stages, but it is usable. Don't expect a stable API at the moment.

## Overview

A "Hello World" program looks like this

```nim
import tree

proc App(): Element =
gui:
text "Hello World!"

App.renderTo("root")
```

Which can then be compiled with the JS backend and put into a HTML document that has an element with id "root"