Fate
github.comKey Features
Tech Stack
Key Features
Tech Stack
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.
At least complain about something specific to the project.
```
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 }) {
const post = useView(PostView, props.post);
}```
There are many bits in fate worthy of criticism. Naming and typing React props really isn't one of those.
Not affiliated with Hacker News or Y Combinator. We simply enrich the public API with analytics.