renderChildren() functional component equivalent

903 views Asked by At

I'm maintaining React app and I have to turn all class components into functional.

One component has the renderChildren() method.

Is there a way to mimic that method in a functional component with hooks?

I really appreciate the support.

0

There are 0 answers