aiidateam / aiida-explorer

A React component to explore AiiDA provenance
https://aiidateam.github.io/aiida-explorer/
MIT License
4 stars 1 forks source link

Too many fetches #8

Closed eimrek closed 2 months ago

eimrek commented 2 months ago

I noticed a general issue: there are too many data fetches. The ones that i found were

Better would be to only fetch data when loading the whole "Node details" page and save it into state. Including, e.g. all the nodes in the graph browser and their tooltips as well.

@SharanRP

eimrek commented 2 months ago

All the tooltip information is already fetched in the GraphBrowser component in the function fetchAllLinks