Anyone here had experience using facebook relay in...
# random
n
Anyone here had experience using facebook relay instead of apollo. In the past I have only worked with apollo. I just recently picked up gatsby.js the data fetching is so fast basically it runs graphql in build time. Its crazy fast literally no loading state at all, that was always something that bothered me using apollo. It took so long for the data to appear on screen whereas with gatsby.js the view-layer and the data-layer is one-to-one kinda reminds me of the old mvc pattern. Important if going to build any data driven application. I wonder if graphql-relay can offer same speed and performance?
l
Currently Apollo should be faster than Relay, and with Apollo you can also do SSR to avoid having loading states.
👍 1
s
I can say that the documentation of relay is really bad so that I switched back to apollo. Additionally there was no release in the past 2 month and the relay team is not good in managing open source right now. They want to release a roadmap soon and will try to improve the open source experience. There is an issue related to it: https://github.com/facebook/relay/issues/2554