helix

https://github.com/Lokeh/helix
Derek Passen 2020-05-13T21:34:52.300200Z

Is there a function in helix.children that would allow me to render children with an additional property?

Derek Passen 2020-05-13T21:35:33.300500Z

passing children wrapped in a function works

Derek Passen 2020-05-13T21:36:57.300700Z

sort of?

lilactown 2020-05-13T21:44:07.301Z

it sounds like you want cloneElement

Derek Passen 2020-05-13T21:55:27.301300Z

yeah, i went with children as a function for now

Derek Passen 2020-05-13T21:55:46.301700Z

I was curious about helix.children/map

lilactown 2020-05-13T21:57:10.302200Z

helix.children/map won’t give you access to the children’s props necessarily

lilactown 2020-05-13T21:57:22.302600Z

children as a function is probably the best thing to do

Derek Passen 2020-05-13T22:02:11.302800Z

Thanks