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

Answer:30 #1111

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SidV2
Copy link

@SidV2 SidV2 commented Sep 5, 2024

Checklist for challenge submission

  • Start your PR message with Answer:${challenge_number}

Warning:

  • If you want feedback or review, you must support the project on GitHub:

Alternatively, you can still submit your PR to join the list of answered challenges or to be reviewed by a community member. 🔥

@github-actions github-actions bot added 30 interop rxjs signal answer answer sponsor sponsor the project to be reviewed PR requests a review labels Sep 5, 2024
loading: loading(),
error: error(),
endOfPage: endOfPage(),
})),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vm is still a thing? I'm not familiar with the signal store, but personaly I don't like the vm pattern with signals since signal create a more granular reactivity. And in your case, if you change one property, the entire vm signal is changed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, I see an anti-pattern here. Thank you :)

@tomalaforge
Copy link
Owner

Nice solution on the signal store, thanks for posting it

@tomalaforge tomalaforge added signalStore and removed to be reviewed PR requests a review labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
30 interop rxjs signal answer answer signalStore sponsor sponsor the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants