Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor state management to decouple from Howler #135

Open
E-Kuerschner opened this issue Oct 28, 2023 · 0 comments
Open

Refactor state management to decouple from Howler #135

E-Kuerschner opened this issue Oct 28, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@E-Kuerschner
Copy link
Owner

To future proof the library while preserving the API, we should introduce a strict abstraction layer and a concrete implementation layer for the state management. This could help if we ever need to swap Howler out with a different sound engine or a custom implementation.

From comments in code:
// TODO: the main state reducer should be decoupled from Howler
// to accomplish this, each action should describe the type of change using an abstraction rather than passing in the howl

@E-Kuerschner E-Kuerschner added the enhancement New feature or request label Oct 28, 2023
@E-Kuerschner E-Kuerschner self-assigned this Oct 28, 2023
@E-Kuerschner E-Kuerschner added this to To do in Project Roadmap via automation Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant