moyu
moyu
Aug 25, 2017 · 1 min read

I don’t think you fixed the callback hell of over-parenting. You still need to pass props layer after layer and react-delegate only delegate parent-child methods not grandparent-child methods. Instead of specify all the callback props, you only simplify it with ‘this’ delegation, the chain is still here. Is there anyway only pass callback prop only once in the grand…grandparent layer, and let children auto propagation?

)

    moyu

    Written by

    moyu

    Web Front End Developer