Rendering Relay on the server

If you’re using Relay and server-side rendering React components, you must optimize Relay for server-side rendering, or suffer a substantial performance cost. TL;DR You’ll need to configure babel-preset-fbjs to hoist its require calls — but only on the server. We’ll get into more detail, but first, this graph illustrates why you need to do this: The… post continues

Rendering Emails with Isomorphic Relay

My name’s Aaron Horton, I’m a front-end engineer at 1stdibs and I’m really excited about emails! If this sounds like a contradiction to you, you’re not wrong; developing email templates is, generally, not the most thrilling task for a front-end engineer. Email clients aren’t up-to-date with the newest rendering engines so CSS support is relegated… post continues