Ever get stuck writing out long unions for component props based on an object? There's a cleaner way! This post explores using keyof and typeof to automatically generate type unions from object keys for your React components. The Problem: Let's say y...
anjan.hashnode.dev2 min read
No responses yet.