I’m working on this page where there’s a list of employments (1), people icons (2), employment income input (3), events icons (4), and route controller (5). What I’m currently doing, is instead of having a huge controller, breaking it up into 5 controllers, one for each part of the page. Is this a correct approach or is it overkill to have so many controllers?
How my app works is onClick on list (1), it calls (5) method update, which updates (2,3,4). on Delete on list (1) and on save in employment income input (3), it also calls (5) method update
Is this a correct approach or is it overkill to have so many controllers? Also, is it good design to have the route controller take care of all the updating, field clearing, etc, of the page?