←back to thread

29 points cpojer | 1 comments | | HN request time: 0.263s | source
Show context
Reubend ◴[] No.46215623[source]
This provides plenty of value conceptually, but I wish they were able to push the syntax into a more intuitive place. My biggest gripe with Relay is how forced the syntax feels, and this seems better but still confusing. Take for example this component declaration:

export const PostCard = ({ post: postRef }: { post: ViewRef<'Post'> }) => { ... }

That feels terrible to me! I don't have any suggestion from my side, but I feel like there's got to be a less awkward way.

replies(2): >>46217825 #>>46218692 #
1. hombre_fatal ◴[] No.46218692[source]
At least complain about something specific to the project and not generic TypeScript syntax.