Re:Relay Modern: Simpler, faster, more extensible
by RaitoBezarius on Tuesday April 18, 2017 @06:21PM
(#14143541)
Thanks Jan, what are the remaining pain points to your opinion with the usage of Relay in a modern web app?
[ Parent
| on HN ]
Re:Relay Modern: Simpler, faster, more extensible
by jankassens on Tuesday April 18, 2017 @07:45PM
(#14144152)
We've moved from runtime generation of queries to 100% of queries generated at compile time to remove a large chunk of computation out of runtime. Some APIs got more complicated to use than I'd like to. For example, pagination currently requires developers to write an explicit query to fetch more entries.
Now with performance in good shape, I want to focus on improving the developer experience again in a way that doesn't sacrifice runtime speed. For example for pagination, we should in most cases be able to synthesize a query at compile time instead of asking for an explicit query.