Web Development

ErikrafT features a built-in component model that compiles directly to optimized JavaScript and HTML.

Components

component HelloWorld(name: string) {
  render {
    <div>Hello {name}!</div>
  }
}

State Management

State in ErikrafT components is reactive by default. Simply declare a variable within the component scope.