Saltar al contenido
angular challenges logo Angular Challenges

🟢 Function call in effect

Reto #51

El contenido de esta página no cuenta con una traducción en tu idioma.

Creado por Thomas Laforge

Information

In this second challenge focusing on Signal effects, we’ve introduced an input select that allows users to choose an action. Whenever an action is selected, it is logged in the console. The application also permits changes to the selected user.

Problem Statement

Ideally, the system should log an action only when one is specifically selected. However, we currently face an issue where changing the user also triggers a log entry, even though we do not explicitly monitor user changes.

The objective of this challenge is to identify and resolve the cause of these extra triggers. We aim to ensure that logging only occurs when an action is selected.

Constraints

  • You cannot modify the UserService file.

Contributors

Thanks to all the contributors who have helped make this documentation better!

  • tomalaforge