Skip to content

Instantly share code, notes, and snippets.

View bloodyowl's full-sized avatar
🦉

Matthias Le Brun bloodyowl

🦉
View GitHub Profile
jQuery(document).ready(function($){
var headerOffset = $(".main-header").height()
, blockMenu = $(".block-menu")
, scrolled
, isBelow = false
, isCurrentlyBelow = false
$(window).scroll(function () {
scrolled = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0

2015-01-29 Unofficial Relay FAQ

Compilation of questions and answers about Relay from React.js Conf.

Disclaimer: I work on Relay at Facebook. Relay is a complex system on which we're iterating aggressively. I'll do my best here to provide accurate, useful answers, but the details are subject to change. I may also be wrong. Feedback and additional questions are welcome.

What is Relay?

Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).