Y
Hacker News
new
|
ask
|
show
|
jobs
by
11235813213455
1367 days ago
even better, wrap those props as
<input {...getProps('firstName')} />
and make a custom hook returning that getProps function