add renderChildren to optimize tree recursive sync state