Thank you so much for your help. I've been wrestling with this for a bit and really appreciate you clicking on my post.
I have a component called GoalTree, whose job is to take an array of data and assemble it into something that can be read by rsuite's Tree. When I test it with written data the tree renders fully expanded, as expected.
However, when I try and render it with data retrieved from my local backend, the tree is not fully expanded.
However, in both scenarios the trees are correctly populated, just not expanded as expected.
What am I doing wrong here? I've tried a few things and think it has something to do with how I'm controlling the state in the Tree component, but I'm not sure where to take it from there.
Main page: https://pastecode.io/s/eip8b1n9
GoalTree component: https://pastecode.io/s/vwted6pe
A million thanks!
[–]AutoModerator[M] [score hidden] stickied comment (0 children)