Major change: replace the old implementation with a new one (linked by @mbosselmann in neuefische/web-curriculum#272, compare the solution repository here.
add tests according to user stories
Rationale
The old implementation worked fine, but was written at the same time as the user stories, so it did not exactly follow the instructions the students would follow.
This is why components, props, etc. were sometimes not called as described in the instructions.
This has two implications:
Students would get confused because the example implementation does not look the way they expect it to be.
Adding the tests according to the user stories is complicated because the example implementation has to be adapted as well.
➡️ This is why I suggest to use this solution by Mareike.
Changes
Rationale
➡️ This is why I suggest to use this solution by Mareike.
fixes neuefische/web-curriculum#272