Hi,
I've just stumbled upon this brilliant list of pattern, however, I have noticed one of them is wrong.
the "Function as children" section mentions that it's not possible, however, it's a known & used pattern.
See here as an example: https://codedaily.io/tutorials/6/Using-Functions-as-Children-and-Render-Props-in-React-Components
Regards,
Simon
Hi,
I've just stumbled upon this brilliant list of pattern, however, I have noticed one of them is wrong.
the "Function as children" section mentions that it's not possible, however, it's a known & used pattern.
See here as an example: https://codedaily.io/tutorials/6/Using-Functions-as-Children-and-Render-Props-in-React-Components
Regards,
Simon