Skip to content

Consider adding user-definable hooks or events #17

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

Open
macarie opened this issue Dec 28, 2023 · 0 comments
Open

Consider adding user-definable hooks or events #17

macarie opened this issue Dec 28, 2023 · 0 comments
Labels
enhancement New feature or request spike Requires exploring potential solutions t Changes regarding the `t` package

Comments

@macarie
Copy link
Member

macarie commented Dec 28, 2023

It may be helpful for some things.

e.g., it would allow to sync locale status with the server (setLocale -> fetch request automatically).

On the other hand, it's possible to do what the example suggests by exporting the locale store used by adapters. Both Jotai and nanostores allow subscribing to a store's value; in Solid and Vue, the reactive primitives are not bound to components; Svelte?

@macarie macarie added enhancement New feature or request spike Requires exploring potential solutions t Changes regarding the `t` package labels Dec 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 spike Requires exploring potential solutions t Changes regarding the `t` package
Projects
None yet
Development

No branches or pull requests

1 participant