Skip to main content

About RescriptRelay

An opinionated binding to Relay​

RescriptRelay does not aim to be a 1-to-1 binding of all of Relay. Rather, we take the following approach:

  • Focus on binding the parts that lend themselves well to ReScripts type system. In our case, this means we only bind Relay's hooks, not their higher-order components.
  • Include tools and utilities that help make life with Relay easier. This includes simplifying common patterns like updating the store, dealing with connections and so on.

This means there's quite a large part of the API surface we won't cover. Rest assured though, what we won't cover will only be additional ways of doing the same thing.