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 private functions into the component #78

Merged
merged 3 commits into from
Mar 30, 2022
Merged

Refactor private functions into the component #78

merged 3 commits into from
Mar 30, 2022

Conversation

koddsson
Copy link
Contributor

In a future pull request, I want to check the internal state of the component in one of these functions but in order to do that, I'd have to expose the property on the component API. This is undesirable since whenever we want to change the internal functionality we have to make a breaking change release. As the functionality grows this becomes more and more unwieldy.

Instead of doing all that, I want to move these essentially private functions into the component so that we can check the internal state of the component in these functions in the future.

@koddsson koddsson marked this pull request as ready for review March 30, 2022 15:03
@koddsson koddsson requested a review from a team as a code owner March 30, 2022 15:03
@koddsson koddsson requested a review from manuelpuyol March 30, 2022 15:03
Base automatically changed from update-dependencies to main March 30, 2022 15:54
@manuelpuyol manuelpuyol merged commit b5007c8 into main Mar 30, 2022
@manuelpuyol manuelpuyol deleted the refactor branch March 30, 2022 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants