Skip to content
@re4js

Re4

Re4

Minimal. Expressive. Compiler-first Javascript Framework docs

// counter.re
import { render } from "@re4/dom"

function hello() {
  console.log("Welcome re4!")
}

component Counter {
  state count: number = 0

  hello()

  return (
    <button onClick={() => count++}>
      Clicked {count}
    </button>
  )
}

render(Counter, document.getElementById("#app"))

🚧🚧WIP🚧🚧 Core compiler, renderer, and tooling are being actively built. Stay tuned - this is just the beginning.

Popular repositories Loading

  1. .github .github Public

Repositories

Showing 1 of 1 repositories

Top languages

Loading…

Most used topics

Loading…