Improve Player component selection depending on selected architecture. #132
Labels
frontend
Frontend related issues
good first issue
Good for newcomers
hacktoberfest
hacktoberfest
help-wanted
Help is wanted
react
Pull requests that update React code
typescript
Pull requests that update TypeScript code
Description
Improve the selection of the Player Component depending on the selected architecture
Context
In file
theres a variable that controls which Music Player component the app has to load
In the
theres an if statement hardcoded that chooses between 2 components depending on the architecture selected. The goal is to improve this component selection using composition
How to do it
Use composition instead of the current if-else
Testing
Make a test in a new file called ArchitectureSelection.test.tsx that:
🖐️ Learn how to CONTRIBUTE, all help is welcomed :)
📚 Check out the project documentation for more info
⭐ Help this project grow by giving it a star if you like it!
😵 Trello links are used for traceability, do not ask to join the board before leaving a comment in the related issue
The text was updated successfully, but these errors were encountered: