3 ms·
> (meaning the owner cares a lot about external opinions). I actually like this about FBOS. I’ve found that I appreciate their vision and direction on the proj
by linkmotif 8y ago
> (meaning the owner cares a lot about external opinions).
I actually like this about FBOS. I’ve found that I appreciate their vision and direction on the projects I use (React particularly, I love their stewardship there, but also Relay, where yeah issues and suggestions are ignored but that’s fine because I like what the team does and the slow pace). I appreciate that they’re not pulled this way and that way by the community and its whims. That’s why I don’t dig Apollo for example, which seems to be one of these community projects that almost exists more for the community than for the product and tries to be everything to everyone and in the end is not something I appreciate technically or even as a community. Of course Relay docs suck but hey it’s open source! I’d rather use a really strong product like Relay than a weaker product like Apollo, even if it means having to learn some internals.
- 0xCMP 8y agoBut they recently got better as I found out a few days ago! Yes those docs often miss some critical ideas/apis/etc. and everyone on the issues seems to already know about somehow and how they're supposed to be used.
- csmiller 8y agoSlightly off topic, but do you have any Relay resources you recommend, both for client and server best practices?
- linkmotif 8y agoI don't know any particular resources. I think the core document is the Runtime Architecture[0]. After that, it really helps to know ES7 Observables, which I learned by studying the little implementation that's included in Relay[1], but apparently is also at the core of Angular. Then you can either use the runtime architecture directly, or the pre-built React components that are included in Relay. If you use the pre-built components, you need to understand the division of labor between the QueryRenderer[2], which fetches data from your server and puts it in the store, and FragmentContainer[3] which lets you render data from the store with React. [0] https://facebook.github.io/relay/docs/en/runtime-architecture.html https://facebook.github.io/relay/docs/en/runtime-architectur... [1] https://github.com/facebook/relay/blob/master/packages/relay-runtime/network/RelayObservable.js https://github.com/facebook/relay/blob/master/packages/relay... [2] https://facebook.github.io/relay/docs/en/query-renderer.html https://facebook.github.io/relay/docs/en/query-renderer.html [3] https://facebook.github.io/relay/docs/en/fragment-container.html https://facebook.github.io/relay/docs/en/fragment-container....