feat: Export createReactiveFunction#15633
feat: Export createReactiveFunction#15633elliott-with-the-longest-name-on-github wants to merge 2 commits intomainfrom
createReactiveFunction#15633Conversation
|
|
dummdidumm
left a comment
There was a problem hiding this comment.
Should we expose the underlying ReactiveValue class as well (or instead)?
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
|
Yeah I called that out as well -- overall I think the function is more useful (it works with |
TODO:
ReactiveValue? IMO no, as this seems like the better way to do this, especially when combined with$derived.by, but I'm not completely attached to that opinionBefore submitting the PR, please make sure you do the following
feat:,fix:,chore:, ordocs:.packages/svelte/src, add a changeset (npx changeset).Tests and linting
pnpm testand lint the project withpnpm lint