20
rated 0 times
[
26]
[
6]
/ answers: 1 / hits: 24484
/ 6 Years ago, sun, december 23, 2018, 12:00:00
The functional components in react are better to use if there aren't any internal state to be tracked within the component.
But what I want is to access the children
of the stateless components without having to extend React.Component
using which i can use props.children
. Is this possible ?
If so , how to do it ?
More From » reactjs