dwyl / dwyl/learn-elm-architecture-in-javascript

Review with "Beginner's Mind" #22

Open
#23 6 comments 1 reaction 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
218
Forks
21
PR merge metrics
No merged PRs in 30d

Description

"@edwardcodes please can you read through the instructions in this tutorial, try the examples and open any issues when anything is unclear? (thanks!)"

@nelsonic i´ve read through the instructions in this (awesome) tutorial (_the reasons to learn elm are very clear and very captivating) and tried the examples (explaining why the code is there and the meaning with the step-by-step comments is MEGA useful 🥇) but there´s a few things i didn't understand:

"9.1 Tests for Resetting the Counter (Update)"
"9.4 Write View (UI) Tests"

I didn't´t understand were do i put/write the tests in the script.. besides that everything is clear, each function (mount, signal, update, empty, button and view) has their own purpose in the app, we should use "pure" functions so we can have more control of the outputs (the "impure" js can be tricky).

Contributor guide

Open the contributing guide

Research direction

Review tutorial sections 9.1, “Tests for Resetting the Counter (Update),” and 9.4, “Write View (UI) Tests,” along with the surrounding testing instructions. Clarify where and how readers should write or place those tests, then verify that the guidance is understandable when following the examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
elm, javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.