Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Fate, a new data framework for React and tRPC, inspired by Relay. Parent comment
```
export function PostCard(props: { post: ViewRef<'Post'> }) {
const post = useView(PostView, props.post);
If you add a few aliases (that can be easily generated), it becomes this:
export function PostCard(props: { post: PostViewRef }) {
There are many bits in fate worthy of criticism. Naming and typing React props really isn't one of those.
There are no comments on this comment yet.
```
export function PostCard(props: { post: ViewRef<'Post'> }) {
}```
If you add a few aliases (that can be easily generated), it becomes this:
```
export function PostCard(props: { post: PostViewRef }) {
}```
There are many bits in fate worthy of criticism. Naming and typing React props really isn't one of those.