Try Install Learn Blog API Packages GitHub

What & Why

This page is an introduction to what Mint is.

What Is Mint?

Mint is a language specifically created for writing single-page applications. It is a compiler and a framework combined to provide great developer experience while allowing to write safe, readable and maintainable code.

It was born out of the frustration of the JavaScript language and ecosystem (NPM) and the Elm language and its not so open development practices.

Why choose Mint over JavaScript?

JavaScript is not a strongly typed language which makes it difficult to write error-free code and leads to not so great developer experience. Also, it does not have the tools to create web applications out of the box, you need frameworks and compilers and build tools that increase complexity.

Why choose Mint over Elm?

Elm has great developer experience, but it being a purely functional language leads to some boilerplate code and makes it harder to learn. Also, it's not possible to contribute or influence the language in any meaningful way.

Why Mint?

Mint combines the developer experience of Elm and the expressiveness of React to create the perfect language for building single-page applications.

After one year of development Mint has the following features:

  • A good type system
  • Nice error messages
  • Formatter
  • Components for composition
  • Stores for data storage
  • Built-in styling
  • Built-in routing
  • Great JavaScript interoperability
  • Immutable data structures
  • And much more...