Moved from GitHub ratel/21
Posted by paulftw:
Implement proper Redux in FrameItem
Currently GraphContainer is a container, FrameItem is not.
However, FrameItem is doing query execution and processing, storing it all in internal state (not redux).
Apart from violating ‘pure redux’ conventions this introduces several problems:
- child components depend on parent to do logic for them
- changing behaviour is not obvious: FrameItem has to be updated to add any new feature
- it’s hard to find where certain logic is - it’s not always in reducers and fetch results are not in store
Overall this problem slows down development