I think it's a good idea to discuss about new challenges in the first place. So I've created this "issue" here to talk about it. Hope that's fine.
Since we talked about signal challenges in my last challenge proposal, I've thought about a cool challenge user story. It might be a 3/4 parts series about signals, including the new input, output, viewChild syntax among other things. My idea would be to create a new section in the challenges (like angular, forms, performance, testing, ...) for signals. That could be a eyecatcher for devs who want to learn more about signals.
Here is our discussion from my last challenge proposal, if you want to look at it again. Feel free to give some feedback to the draft below.
Example:
- Online-Shop application, buying a laptop.
Challenge 1: Signal Effect Bug | bug-effect-signal
- Context: Effect to open alert doesn't work as expected.
- User Story:
- Task 1: fix wrong implementation.
- Bonus Task: refactor implementation with
computed signal.
Challenge 2: Signal Basics
- Context: Bob 🧙♂️ want's to update the project to the newest version of angular, and take advantage of the new
signal feature.
- User Story:
- Task 1: refactor a
Observable to signal
- Task 2: refactor
@ViewChildren() with viewChild() (With a suitable example that highlights the advantages)
Challenge 3: Computed function with a ternary inside
- Context: You're working an application which has a light and dark theme. Bob 🧙♂️ want's a cleaner way to detect if dark mode is active.
- User Story: refactor a function
isDarkModeActive with a computed signal (computed function with a ternary inside)
Challenge 4: ...
I think it's a good idea to discuss about new challenges in the first place. So I've created this "issue" here to talk about it. Hope that's fine.
Since we talked about
signalchallenges in my last challenge proposal, I've thought about a cool challenge user story. It might be a 3/4 parts series about signals, including the newinput,output,viewChildsyntax among other things. My idea would be to create a new section in the challenges (like angular, forms, performance, testing, ...) for signals. That could be a eyecatcher for devs who want to learn more about signals.Here is our discussion from my last challenge proposal, if you want to look at it again. Feel free to give some feedback to the draft below.
Example:
Challenge 1: Signal Effect Bug | bug-effect-signal
computedsignal.Challenge 2: Signal Basics
signalfeature.Observabletosignal@ViewChildren()withviewChild()(With a suitable example that highlights the advantages)Challenge 3: Computed function with a ternary inside
isDarkModeActivewith acomputedsignal (computed function with a ternary inside)Challenge 4: ...