---
layout: home
title: marty.js
id: home
---
<div class="bs-docs-masthead" id="content" role="main">
  <div class="container">
    <h1>marty.js</h1>
    <p class="lead">
      A JavaScript library for state management in React applications
    </p>
    <p class="lead">
      <a href="{% url /guides/getting-started %}" class="btn btn-outline-inverse btn-lg">Get started now</a>
    </p>
  </div>
</div>
<div class="container bs-docs-marketing">
  <div class="row">
    <div class="col-sm-4">
      <h3>Flux</h3>
      <p>
        Marty is an implementation of the <a href="http://facebook.github.io/flux/docs/overview.html">Flux architecture</a>. It defines a set of rules about how to manage your applications state. Facebook invented Flux to help them build client-side web applications.
      </p>
    </div>
    <div class="col-sm-4">
      <h3>Declarative data fetching</h3>
      <p>
        Marty has a unique <a href="{% url /guides/fetching-state/index.html %}">fetch API</a> that allows you to declaratively define your components state requirements. It also helps you define what to do when waiting for that state or when an error occurs.
      </p>
    </div>
    <div class="col-sm-4">
      <h3>Isomorphic</h3>
      <p>
        Marty makes it easy to build JavaScript applications that run as happily on the server as they do in the browser. Read our <a href="{% url /guides/isomorphism/index.html %}">guide on isomorphism</a> to learn more.
      </p>
    </div>
  </div>
</div>
