React friends: thoughts on getChildContext? Good? Bad? Ugly?
@sebmarkbage @leeb but the react community seems harshly negative about them so don't want to dive in too deep too quick :p
-
-
@wycats@sebmarkbage not sure why so negative. Maybe because we haven't finalized API so over-abundance of caution. -
@leeb one reason react-router users don't like us to use context is that it adds boilerplate to your tests.@wycats@sebmarkbage -
@leeb maybe it's just that we're a library, i.e. not ok for libs, ok for apps@wycats@sebmarkbage -
@mjackson@leeb@sebmarkbage agreed. Reusable components don't want to share context with structural components that embedded them. -
@wycats@mjackson@leeb@sebmarkbage context is helpful for talking past unrelated intermediate components instead of leaking impl details.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.