Function as a Child Component
Your React Native Offline Tool Belt
Raúl Gómez Acuña
6504

Having a function as a child feels like a hack. Why not add an additional property to the component? something like `render`. Or maybe even a `disconnectedComponent` prop that overrides `children` when not connected. People don’t expect that `children`needs to be a function IMO.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.