Skip to content

Conversation

@MickL
Copy link

@MickL MickL commented Jul 17, 2024

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

#201

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

Comment on lines +42 to +44
onUnmounted(() => {
result.value = undefined;
});
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hey, what about instead to provide a reset function so that the user can trigger this reset function when he needs? :)

It can even be the same (on onUnmounted hook) but it will be done by the consumer of the library instead of the library itself :)

Copy link
Author

Choose a reason for hiding this comment

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

Actually that makes more sense! :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Great, could you refactor your code to this change? Then I could merge, test and release a new version with it to unblock you :)

Copy link
Author

Choose a reason for hiding this comment

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

@Baroshem Can you continue here maybe? I dont have the time unfortunately

@Baroshem Baroshem mentioned this pull request Mar 19, 2025
@Baroshem
Copy link
Collaborator

Implemented in #222 Thanks for contributing!

@Baroshem Baroshem closed this Mar 19, 2025
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