Tomo: Use redux hook
This PR reworks part of the tomo components as redux hooks.
This was profiled and looks to improve the rendering in the tiling (instead of reaching the data from the parent, the state can be reached by any components without the need of declaring an extra connect
component).
This also makes cleaning part of the fetch. The hook can hide the implementation detail.
This still can be improved because part of the components (children of VisCanvas
) can't access to the redux store.
Despite that, it looks to improve the situation.
Edited by Valentin Valls