How to wrap renderItem in useCallback when using function-as-children pattern
I have created a component FirstChild
that offers me a function close
with the Function as Children construction, like so.
I have created a component FirstChild
that offers me a function close
with the Function as Children construction, like so.