| ▲ | girvo a day ago | ||||||||||||||||
Quite. Apollo Client is the problem, IMO, not GraphQL. Though Relay still needs to work on their documentation: Entrypoints are so excellent and yet still are basically bare API docs that sort of rely on internal Meta shit | |||||||||||||||||
| ▲ | sibeliuss a day ago | parent | next [-] | ||||||||||||||||
The docs situation continues to be hilarious and bad, for the gem they have created. It's the unfortunate situation where those who know, know, and those who do not, blasphemy the whole thing based on misunderstanding. Super unfortunate, which could be solved by simply moving a little money over to Relay's docs, and working on some marketing materials. | |||||||||||||||||
| ▲ | rbalicki a day ago | parent | prev [-] | ||||||||||||||||
100% agree on the unnecessary connection between entrypoints and meta internals. I think this is one of the biggest misses in Relay, and severely limits its usefulness in OSS. If you're interested in entrypoints without the Meta internals, you may be interested in checking out Isograph (which I work on). See e.g. https://isograph.dev/docs/loadable-fields/, where the data + JS for BlogBody is loaded afterward, i.e. entrypoints. It's as simple as annotating a field (in Isograph, components define fields) with @loadable(lazyLoadArtifact: true). | |||||||||||||||||
| |||||||||||||||||