3 ms·
Not sure I follow. Where does value come from?
by hestefisk 9y ago
Not sure I follow. Where does value come from?
- tym0 9y agoUserIdConsumer will call the children prop as function, UserIdConsumer could look like this: const UserIdConsumer props => <Fragment>props.children(theValueYouWantAvailable)</Fragment>