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

Sharable rune primitives #93

Closed
th3l0g4n opened this issue Jun 12, 2024 · 1 comment
Closed

Sharable rune primitives #93

th3l0g4n opened this issue Jun 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@th3l0g4n
Copy link

th3l0g4n commented Jun 12, 2024

Describe the feature in detail (code, mocks, or screenshots encouraged)

This is exactly the kind of library svelte needs right now. Especially with the introduction of the new runes API.
As the current utilities are already loosely based on vue primitives, are you planning to introduce base primitives that make it easier to sharing state between componentes and hooks / composables?

I am thinking about equivalents for ref and reactive (maybe computed) in the vue reactivity system.

What type of pull request would this be?

Enhancement

Provide relevant links or additional information.

https://vuejs.org/api/reactivity-core#ref
https://vuejs.org/api/reactivity-core#reactive
https://vuejs.org/api/reactivity-core#computed

@th3l0g4n th3l0g4n added the enhancement New feature or request label Jun 12, 2024
@TGlide
Copy link
Member

TGlide commented Jun 14, 2024

We did have these before, but don't think they're needed. Check our internals to see how we make do without refs, reactive or computed :)

@TGlide TGlide closed this as not planned Won't fix, can't repro, duplicate, stale Jun 14, 2024
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
None yet
Development

No branches or pull requests

2 participants