Skip to content

Challenge 59 #1266

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

Closed
wants to merge 2 commits into from
Closed

Challenge 59 #1266

wants to merge 2 commits into from

Conversation

JonataB
Copy link

@JonataB JonataB commented Apr 2, 2025

Checklist for challenge submission

Answer: 59

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. 🔥

@JonataB JonataB closed this Apr 2, 2025

loadPosts() {
if (!this.postResource) {
runInInjectionContext(this.injector, () => {
Copy link
Owner

Choose a reason for hiding this comment

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

using runInInjectionContext is often the sign of a bad desing. You should avoid using it at all cost

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.

None yet

2 participants