Skip to content

Feature/1#8

Merged
thrashtechinfo merged 3 commits intomainfrom
feature/1
Oct 2, 2024
Merged

Feature/1#8
thrashtechinfo merged 3 commits intomainfrom
feature/1

Conversation

@muhammadawaisshaikh
Copy link
Copy Markdown
Collaborator

  • Before: The CoursesComponent handled both displaying courses and filtering by program.

  • After: We separated the filtering logic into the ProgramFilterComponent, while the CoursesListComponent is responsible for displaying the list. Now, each component has a single responsibility.

This way, if we need to update the filtering logic or the course list display in the future, we can modify them independently, adhering to the Single Responsibility Principle.

@thrashtechinfo
Copy link
Copy Markdown
Owner

Great work @muhammadawaisshaikh i will publish, once detailed overview, thanks

@thrashtechinfo thrashtechinfo linked an issue Oct 2, 2024 that may be closed by this pull request
@thrashtechinfo thrashtechinfo merged commit 66726f3 into main Oct 2, 2024
@thrashtechinfo thrashtechinfo added the hacktoberfest-accepted Extra attention is needed label Oct 2, 2024
Copy link
Copy Markdown
Owner

@thrashtechinfo thrashtechinfo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work. done, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design-patterns enhancement New feature or request hacktoberfest hacktoberfest-accepted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add code example for - S: Single Responsibility Principle

2 participants