Open mnmaita opened 1 week ago
I still have some outstanding questions regarding this change:
RequiredFunc
and HookFunc
enums since they are essentially the same? I went for a simpler approach but was thinking on creating some DeriveFunc
(or similar) to cover both cases and avoid code repetition.
Objective
Solution
Component
macro to accept closures forComponentHooks
.Testing
component_hooks
example.