You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make a component hierarchy with this package. The only problem I am facing is toggling the state if I am not preloading it with children data. I need to asynchronously load children data on toggle action, but the code is checking the length of children array. Is it possible for you add a property like hasChildren or willHaveChildren instead of using the children array length?
The text was updated successfully, but these errors were encountered:
I am trying to make a component hierarchy with this package. The only problem I am facing is toggling the state if I am not preloading it with children data. I need to asynchronously load children data on toggle action, but the code is checking the length of children array. Is it possible for you add a property like
hasChildren
orwillHaveChildren
instead of using the children array length?The text was updated successfully, but these errors were encountered: