This resolves an issue I was having where the 'loading' message wouldn't show when initially fetching data. I ended up having to separate the concept of 'loading' (fetching data from the backend) and 'rendering' (don't kick off another loading). It's not the most elegant--something still feels off about the circular hook usage, I might open a conversation with the chartjs devs to see if there's a better way to accomplish this.
This resolves an issue I was having where the 'loading' message wouldn't show when initially fetching data. I ended up having to separate the concept of 'loading' (fetching data from the backend) and 'rendering' (don't kick off another loading). It's not the most elegant--something still feels off about the circular hook usage, I might open a conversation with the chartjs devs to see if there's a better way to accomplish this.