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

feat: add mirror utility #459

Closed
wants to merge 2 commits into from
Closed

feat: add mirror utility #459

wants to merge 2 commits into from

Conversation

eneajaho
Copy link
Collaborator

No description provided.

@mauriziocescon
Copy link
Contributor

mauriziocescon commented Jul 21, 2024

You can make it even more generic by simply allowing a "reactive func" instead of just a signal! This way it's closer to a writableComputed.

Here is an example: https://stackblitz.com/edit/stackblitz-starters-ebanrk?file=src%2Fmain.ts

@eneajaho
Copy link
Collaborator Author

eneajaho commented Aug 7, 2024

You can make it even more generic by simply allowing a "reactive func" instead of just a signal! This way it's closer to a writableComputed.

Here is an example: https://stackblitz.com/edit/stackblitz-starters-ebanrk?file=src%2Fmain.ts

Yeah that would make it better.

@eneajaho
Copy link
Collaborator Author

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