Post
Yes, it's mentioned here: bsky.app/profile/haz.... Naming is important, though. And I believe the best aspect of this API is that it's optimized for change whenever you need it. High-level: <A> Mid-level: <A render={<B />}> Low-level: <A render={props => <B {...props} />}>
So, this `render={<Comp />}` API comes from the as prop, asChild, and the original render prop composition pattern, which I believe originates from React Router. Here's how I see it:
0 reposts2 likes
No replies yet.