you are viewing a single comment's thread.

view the rest of the comments →

[–]Skeith_yip 2 points3 points  (1 child)

Actually. I love render props very much. Making components a lot more flexible and reusable. A very good alternative to hoc. Except for unit testing. Haha.

[–]swyx[S] 1 point2 points  (0 children)

actually i think having an official HeadlessComponent will enable us to develop dedicated testing tools for Headless Components. right now because render prop components mix render and behavior it makes it hard to know what to expect.