Closed Yomguithereal closed 9 years ago
Hi @Yomguithereal. Thanks for the feedback!
Yeah, actually we were thinking about that but hesitated because not every data dependency contains props and reloading data every time would be a slight overhead. But the more we work with this manual reloadComponentData
, the more we think that maybe reloading it automatically wouldn't be that bad. So yes, I think we'll automate it in one of the nearest releases.
Hello @mistadikay. One thing I do not understand about the
DataWatcher
decorator is the obligation to manually triggerreloadComponentData
. Why not trigger it automatically as in your example in thecomponentWillReceiveProps
hook?