back

by jotaen·7y ago·view on hn ↗
This would create a new inline function on every render though, which potentially might cause rendering performance issues.
2 comments
The Hooks way creates a lot of inline functions on every render.
Hardly ever.