-
Notifications
You must be signed in to change notification settings - Fork 27
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
Hooks do not exist in Svelte, consider renaming these actions by removing the "use" part #8
Comments
See, I was even confused by the naming convention. I assumed all the And for the actions, remove the |
Thanks, @kevmodrome for the suggestions, totally makes sense. |
Resolved, I think we should preserve the type |
@kevmodrome let me know what you think. |
So - I think it's quite redundant to call them For actions: and for the custom stores: As soon as you use them in Svelte it's obvious what they are: |
Hooks do not exist in Svelte. They are a React feature. Please consider renaming all these by removing the
use
from the action name.Compare:
use:counter
anduse:useCounter
.The text was updated successfully, but these errors were encountered: