Skip to content

Conversation

@svenson95
Copy link
Contributor

Here is my feedback and additions for this new challenge.

@svenson95
Copy link
Contributor Author

@tomalaforge as mentioned here, we should think about rename this challenge naming. If you want me to do this, just let me know.

constructor() {
/*
Explain for your junior team mate why this bug occurs ...
*/
Copy link
Owner

Choose a reason for hiding this comment

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

This comment is not very useful to the challenge.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To explain why this error occurs can be helpful to really understand it. But if you don't like it i can remove it.

- Uncheck box 1
- Check box 3 (Alert should be shown)
- Uncheck box 2
- Uncheck box 3
Copy link
Owner

Choose a reason for hiding this comment

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

If we do it this way. the only way to solve the challenge is by having multiple effects. Otherwise even if we uncheck one checkbox, the alert will be shown.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That would be okay for you? if so, we have to update our solutions

Copy link
Owner

Choose a reason for hiding this comment

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

It's just that the challenge was just about the issue on the effect. But this doesn't really matter. We can keep it this way. I just don't know how to do it simply with one effect

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah you're right. I suggest to change line 40 to the following. So we can find different ways to solve this, maybe with one effect, i'll try this.

Try to implement this feature with a computed signal.

@tomalaforge
Copy link
Owner

Nice use case and if you want to change the title: what title will you use?

@svenson95
Copy link
Contributor Author

Nice use case and if you want to change the title: what title will you use?

For the title i prefer just "Effect bug", or "Bug in Effect" without the question mark.
The filename should be signal-effect-bug or signal-bug-in-effect respectively.

@tomalaforge
Copy link
Owner

I updated the project tree, so when this PR is done, I will move the app folder as well

@tomalaforge tomalaforge merged commit 60c9964 into tomalaforge:main May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants