3 ms·
This is how the technique was first popularised by Cheng Lou in react-motion. But it was generally found that using children made it really inaccessible to peop
by andrewingram 9y ago
This is how the technique was first popularised by Cheng Lou in react-motion. But it was generally found that using children made it really inaccessible to people unfamiliar with the pattern.
I've literally had good developers not understand them until I switched an example from using children to using a render prop, at which point there's a big light bulb moment.
So i'll be sticking with the render prop.
- couchand 9y agoMaybe you could clarify it for your good developers by giving the example with children passed as a prop. Then they'll learn two things!
- andrewingram 9y agoWhat's the point? Given that I prefer the aesthetics of the render prop as well?