Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hestefisk
on April 25, 2018
|
parent
|
context
|
favorite
| on:
Redux – Not Dead Yet
Not sure I follow. Where does value come from?
tym0
on April 25, 2018
[–]
UserIdConsumer will call the children prop as function, UserIdConsumer could look like this:
const UserIdConsumer props => <Fragment>props.children(theValueYouWantAvailable)</Fragment>
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: