Hi I am create a feature in live wire but i don't want to use a single component for the because i will make the component really big and complex to work with
feature i need (Simplified)
i have program where the teacher can do the follow
Change Period (would change the program and all of its student)
Change a Student show the student specific stuff like hi grade his activity and module etc
you can have a lot of other action for teacher it an customized LMS
now i am using a component base approach where i have component for each action but there is some repeated code for example
when you change the student i fired and event studentChanged and the code in the most of the lisiner is same
which is get the user its activiy
also in mount method are the same to cause i need access to current program module etc
is that ok or can i avoid that if so can some one tell me how cause i dont know