Re:Introducing Hooks
by jotaen on Thursday October 25, 2018 @04:44PM
(#18304428)
This would create a new inline function on every render though, which potentially might cause rendering performance issues.
[ Parent
| on HN ]
The Hooks way creates a lot of inline functions on every render.